43 #ifndef RTOPPACK_RTOP_SUB_RANGE_DECORATOR_DECL_HPP
44 #define RTOPPACK_RTOP_SUB_RANGE_DECORATOR_DECL_HPP
47 #include "RTOpPack_RTOpT.hpp"
84 template<
class Scalar>
105 const Ordinal first_ele_offset = 0,
112 const Ordinal first_ele_offset = 0,
119 const Ordinal first_ele_offset = 0,
126 const Ordinal first_ele_offset = 0,
193 #endif // RTOPPACK_RTOP_SUB_RANGE_DECORATOR_DECL_HPP
void reduct_obj_reinit_impl(const Ptr< ReductTarget > &reduct_obj) const
void get_reduct_type_num_entries_impl(const Ptr< int > &num_values, const Ptr< int > &num_indexes, const Ptr< int > &num_chars) const
void load_reduct_obj_state_impl(const ArrayView< const primitive_value_type > &value_data, const ArrayView< const index_type > &index_data, const ArrayView< const char_type > &char_data, const Ptr< ReductTarget > &reduct_obj) const
Class for a changeable sub-vector.
void nonconstInitialize(const RCP< RTOpT< Scalar > > &op, const Ordinal first_ele_offset=0, const Ordinal sub_dim=-1)
void reduce_reduct_objs_impl(const ReductTarget &in_reduct_obj, const Ptr< ReductTarget > &inout_reduct_obj) const
bool coord_invariant_impl() const
Teuchos::ConstNonconstObjectContainer< RTOpT< Scalar > > op_
Class for a non-changeable sub-vector.
Templated interface to vector reduction/transformation operators {abstract}.
void apply_op_impl(const ArrayView< const ConstSubVectorView< Scalar > > &sub_vecs, const ArrayView< const SubVectorView< Scalar > > &targ_sub_vecs, const Ptr< ReductTarget > &reduct_obj) const
PrimitiveTypeTraits< Scalar, Scalar >::primitiveType primitive_value_type
Abstract base class for all reduction objects.
Ordinal first_ele_offset_
Teuchos::RCP< ReductTarget > reduct_obj_create_impl() const
void initialize(const RCP< const RTOpT< Scalar > > &op, const Ordinal first_ele_offset=0, const Ordinal sub_dim=-1)
void extract_reduct_obj_state_impl(const ReductTarget &reduct_obj, const ArrayView< primitive_value_type > &value_data, const ArrayView< index_type > &index_data, const ArrayView< char_type > &char_data) const
RCP< const RTOpT< Scalar > > getOp() const
Decorator subclass that restricts the range of elements to apply the underlying RTOpT object to...
std::string op_name_impl() const
RTOpT< Scalar >::primitive_value_type primitive_value_type
RCP< RTOpT< Scalar > > getNonconstOp()