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]

List of all members.

Public Types

typedef RTOpT< Scalar >
::primitive_value_type 
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
 

Protected Member Functions

 STANDARD_MEMBER_COMPOSITION_MEMBERS (ConcreteReductObj, initReductObjValue)
 

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
 

Detailed Description

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

Definition at line 294 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

Reimplemented from RTOpPack::RTOpT< Scalar >.

Definition at line 302 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 305 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 314 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 321 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]
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 [inline, virtual]

Reimplemented from RTOpPack::RTOpT< Scalar >.

Definition at line 339 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 [inline, virtual]

Reimplemented from RTOpPack::RTOpT< Scalar >.

Definition at line 352 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 [inline, virtual]

Reimplemented from RTOpPack::RTOpT< Scalar >.

Definition at line 359 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 [inline, virtual]

Reimplemented from RTOpPack::RTOpT< Scalar >.

Definition at line 370 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 [inline, virtual]

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 >::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 [inline, virtual]

Reimplemented from RTOpPack::RTOpT< Scalar >.

Definition at line 389 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 413 of file RTOpPack_RTOpTHelpers_decl.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Wed Apr 13 09:59:21 2011 for RTOp Package Browser (Single Doxygen Collection) by  doxygen 1.6.3