11 #ifndef RTOPPACK_ROP_GET_SUB_VECTOR_DECL_HPP
12 #define RTOPPACK_ROP_GET_SUB_VECTOR_DECL_HPP
15 #include "RTOpPack_RTOpTHelpers.hpp"
26 template<
class Scalar>
97 #endif // RTOPPACK_ROP_GET_SUB_VECTOR_DECL_HPP
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 reduce_reduct_objs_impl(const ReductTarget &in_reduct_obj, const Ptr< ReductTarget > &inout_reduct_obj) const
Teuchos_Ordinal index_type
void set_range(const index_type l, const index_type u)
Set the range of global indexes to extract elements for.
Class for a non-changeable sub-vector.
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
Templated interface to vector reduction/transformation operators {abstract}.
ROpGetSubVector(const index_type l=0, const index_type u=0)
RTOpT< Scalar >::primitive_value_type primitive_value_type
Teuchos::RCP< ReductTarget > reduct_obj_create_impl() const
Reduction operator that extracts a sub-vector in the range of global zero-based indexes [l...
PrimitiveTypeTraits< Scalar, Scalar >::primitiveType primitive_value_type
Abstract base class for all reduction objects.
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
bool coord_invariant_impl() 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 reduct_obj_reinit_impl(const Ptr< ReductTarget > &reduct_obj) const
const ConstSubVectorView< Scalar > operator()(const ReductTarget &reduct_obj) const
Extract the subvector after all of the reductions are completed.