RTOp Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
RTOpPack::ROpScalarReductionWithOpBase< Scalar, ConcreteReductObj, ReductObjReduction > Class Template Reference

More...

#include <RTOpPack_RTOpTHelpers_decl.hpp>

Inheritance diagram for RTOpPack::ROpScalarReductionWithOpBase< Scalar, ConcreteReductObj, ReductObjReduction >:
Inheritance graph
[legend]

Public Types

typedef RTOpT< Scalar >
::primitive_value_type 
primitive_value_type
 
- Public Types inherited from RTOpPack::RTOpT< Scalar >
typedef PrimitiveTypeTraits
< Scalar, Scalar >
::primitiveType 
primitive_value_type
 

Public Member Functions

 ROpScalarReductionWithOpBase (const ConcreteReductObj &initReductObjValue_in=ScalarTraits< Scalar >::zero(), ReductObjReduction reductObjReduction_in=ReductObjReduction())
 
const ConcreteReductObj & getRawVal (const ReductTarget &reduct_obj) const
 
void setRawVal (const ConcreteReductObj &rawVal, const Ptr< ReductTarget > &reduct_obj) const
 
ConcreteReductObj operator() (const ReductTarget &reduct_obj) const
 
- Public Member Functions inherited from RTOpPack::RTOpT< Scalar >
void get_reduct_type_num_entries (const Ptr< int > &num_values, const Ptr< int > &num_indexes, const Ptr< int > &num_chars) const
 Get the number of entries of each basic data type in the externalized state for a reduction object for this operator. More...
 
Teuchos::RCP< ReductTargetreduct_obj_create () const
 Creates a new reduction target object initialized and ready to be used in a reduction. More...
 
void reduce_reduct_objs (const ReductTarget &in_reduct_obj, const Ptr< ReductTarget > &inout_reduct_obj) const
 Reduce intermediate reduction target objects. More...
 
void reduct_obj_reinit (const Ptr< ReductTarget > &reduct_obj) const
 Reinitialize an already created reduction object. More...
 
void extract_reduct_obj_state (const ReductTarget &reduct_obj, const ArrayView< primitive_value_type > &value_data, const ArrayView< index_type > &index_data, const ArrayView< char_type > &char_data) const
 Extract the state of an already created reduction object. More...
 
void load_reduct_obj_state (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
 Load the state of an already created reduction object given arrays of primitive objects. More...
 
std::string op_name () const
 Return the name (as a null-terminated C-style string) of the operator. More...
 
bool coord_invariant () const
 Returns true if this operator is coordinate invariant. More...
 
Range1D range () const
 Returns the continuous range of elements that this operator is defined over. More...
 
void apply_op (const ArrayView< const ConstSubVectorView< Scalar > > &sub_vecs, const ArrayView< const SubVectorView< Scalar > > &targ_sub_vecs, const Ptr< ReductTarget > &reduct_obj) const
 Apply the reduction/transformation operator to a set of sub-vectors. More...
 
- Public Member Functions inherited from Teuchos::Describable
DescribableStreamManipulatorState describe (const Describable &describable, const EVerbosityLevel verbLevel=Describable::verbLevel_default)
 
std::ostream & operator<< (std::ostream &os, const DescribableStreamManipulatorState &d)
 
virtual std::string description () const
 
virtual void describe (FancyOStream &out, const EVerbosityLevel verbLevel=verbLevel_default) const
 
void describe (std::ostream &out, const EVerbosityLevel verbLevel=verbLevel_default) const
 
virtual ~Describable ()
 
 LabeledObject ()
 
virtual ~LabeledObject ()
 
virtual void setObjectLabel (const std::string &objectLabel)
 
virtual std::string getObjectLabel () const
 

Protected Member Functions

 STANDARD_MEMBER_COMPOSITION_MEMBERS (ConcreteReductObj, initReductObjValue)
 
- Protected Member Functions inherited from RTOpPack::RTOpT< Scalar >
virtual std::string op_name_impl () const
 
virtual bool coord_invariant_impl () const
 
virtual Range1D range_impl () const
 
virtual 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 =0
 
 RTOpT (const std::string &op_name_base="")
 Constructor that creates an operator name appended with the type. More...
 
void setOpNameBase (const std::string &op_name_base)
 Just set the operator name. More...
 

Private Attributes

ReductObjReduction reductObjReduction_
 

Overridden from RTOpT

void get_reduct_type_num_entries_impl (const Ptr< int > &num_values, const Ptr< int > &num_indexes, const Ptr< int > &num_chars) const
 
Teuchos::RCP< ReductTargetreduct_obj_create_impl () const
 
virtual void reduce_reduct_objs_impl (const ReductTarget &in_reduct_obj, const Ptr< ReductTarget > &inout_reduct_obj) const
 
void reduct_obj_reinit_impl (const Ptr< ReductTarget > &reduct_obj) const
 
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
 
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
 

Additional Inherited Members

- Static Public Attributes inherited from Teuchos::Describable
static const EVerbosityLevel verbLevel_default
 

Detailed Description

template<class Scalar, class ConcreteReductObj, class ReductObjReduction>
class RTOpPack::ROpScalarReductionWithOpBase< Scalar, ConcreteReductObj, ReductObjReduction >

Definition at line 311 of file RTOpPack_RTOpTHelpers_decl.hpp.

Member Typedef Documentation

template<class Scalar, class ConcreteReductObj, class ReductObjReduction>
typedef RTOpT<Scalar>::primitive_value_type RTOpPack::ROpScalarReductionWithOpBase< Scalar, ConcreteReductObj, ReductObjReduction >::primitive_value_type

Definition at line 319 of file RTOpPack_RTOpTHelpers_decl.hpp.

Constructor & Destructor Documentation

template<class Scalar, class ConcreteReductObj, class ReductObjReduction>
RTOpPack::ROpScalarReductionWithOpBase< Scalar, ConcreteReductObj, ReductObjReduction >::ROpScalarReductionWithOpBase ( const ConcreteReductObj &  initReductObjValue_in = ScalarTraits<Scalar>::zero(),
ReductObjReduction  reductObjReduction_in = ReductObjReduction() 
)
inline

Definition at line 322 of file RTOpPack_RTOpTHelpers_decl.hpp.

Member Function Documentation

template<class Scalar, class ConcreteReductObj, class ReductObjReduction>
const ConcreteReductObj& RTOpPack::ROpScalarReductionWithOpBase< Scalar, ConcreteReductObj, ReductObjReduction >::getRawVal ( const ReductTarget reduct_obj) const
inline

Definition at line 331 of file RTOpPack_RTOpTHelpers_decl.hpp.

template<class Scalar, class ConcreteReductObj, class ReductObjReduction>
void RTOpPack::ROpScalarReductionWithOpBase< Scalar, ConcreteReductObj, ReductObjReduction >::setRawVal ( const ConcreteReductObj &  rawVal,
const Ptr< ReductTarget > &  reduct_obj 
) const
inline

Definition at line 338 of file RTOpPack_RTOpTHelpers_decl.hpp.

template<class Scalar, class ConcreteReductObj, class ReductObjReduction>
ConcreteReductObj RTOpPack::ROpScalarReductionWithOpBase< Scalar, ConcreteReductObj, ReductObjReduction >::operator() ( const ReductTarget reduct_obj) const
inline

Definition at line 347 of file RTOpPack_RTOpTHelpers_decl.hpp.

template<class Scalar, class ConcreteReductObj, class ReductObjReduction>
void RTOpPack::ROpScalarReductionWithOpBase< Scalar, ConcreteReductObj, ReductObjReduction >::get_reduct_type_num_entries_impl ( const Ptr< int > &  num_values,
const Ptr< int > &  num_indexes,
const Ptr< int > &  num_chars 
) const
inlinevirtual

Reimplemented from RTOpPack::RTOpT< Scalar >.

Definition at line 356 of file RTOpPack_RTOpTHelpers_decl.hpp.

template<class Scalar, class ConcreteReductObj, class ReductObjReduction>
Teuchos::RCP<ReductTarget> RTOpPack::ROpScalarReductionWithOpBase< Scalar, ConcreteReductObj, ReductObjReduction >::reduct_obj_create_impl ( ) const
inlinevirtual

Reimplemented from RTOpPack::RTOpT< Scalar >.

Definition at line 369 of file RTOpPack_RTOpTHelpers_decl.hpp.

template<class Scalar, class ConcreteReductObj, class ReductObjReduction>
virtual void RTOpPack::ROpScalarReductionWithOpBase< Scalar, ConcreteReductObj, ReductObjReduction >::reduce_reduct_objs_impl ( const ReductTarget in_reduct_obj,
const Ptr< ReductTarget > &  inout_reduct_obj 
) const
inlinevirtual

Reimplemented from RTOpPack::RTOpT< Scalar >.

Definition at line 376 of file RTOpPack_RTOpTHelpers_decl.hpp.

template<class Scalar, class ConcreteReductObj, class ReductObjReduction>
void RTOpPack::ROpScalarReductionWithOpBase< Scalar, ConcreteReductObj, ReductObjReduction >::reduct_obj_reinit_impl ( const Ptr< ReductTarget > &  reduct_obj) const
inlinevirtual

Reimplemented from RTOpPack::RTOpT< Scalar >.

Definition at line 387 of file RTOpPack_RTOpTHelpers_decl.hpp.

template<class Scalar, class ConcreteReductObj, class ReductObjReduction>
void RTOpPack::ROpScalarReductionWithOpBase< Scalar, ConcreteReductObj, ReductObjReduction >::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
inlinevirtual

Reimplemented from RTOpPack::RTOpT< Scalar >.

Definition at line 393 of file RTOpPack_RTOpTHelpers_decl.hpp.

template<class Scalar, class ConcreteReductObj, class ReductObjReduction>
void RTOpPack::ROpScalarReductionWithOpBase< Scalar, ConcreteReductObj, ReductObjReduction >::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
inlinevirtual

Reimplemented from RTOpPack::RTOpT< Scalar >.

Definition at line 406 of file RTOpPack_RTOpTHelpers_decl.hpp.

template<class Scalar, class ConcreteReductObj, class ReductObjReduction>
RTOpPack::ROpScalarReductionWithOpBase< Scalar, ConcreteReductObj, ReductObjReduction >::STANDARD_MEMBER_COMPOSITION_MEMBERS ( ConcreteReductObj  ,
initReductObjValue   
)
protected

Member Data Documentation

template<class Scalar, class ConcreteReductObj, class ReductObjReduction>
ReductObjReduction RTOpPack::ROpScalarReductionWithOpBase< Scalar, ConcreteReductObj, ReductObjReduction >::reductObjReduction_
private

Definition at line 429 of file RTOpPack_RTOpTHelpers_decl.hpp.


The documentation for this class was generated from the following file: