RTOpPack::ROpScalarIndexReductionBase< Scalar > Class Template Reference

Base class for all reduction operators that return a ScalarIndex reduction object. More...

#include <RTOpPack_RTOpTHelpers.hpp>

Inheritance diagram for RTOpPack::ROpScalarIndexReductionBase< Scalar >:

[legend]
List of all members.

Overridden from RTOpT

void get_reduct_type_num_entries (int *num_values, int *num_indexes, int *num_chars) const
 
Teuchos::RefCountPtr< ReductTargetreduct_obj_create () const
 
void reduct_obj_reinit (ReductTarget *reduct_obj) const
 
void extract_reduct_obj_state (const ReductTarget &reduct_obj, int num_values, primitive_value_type value_data[], int num_indexes, index_type index_data[], int num_chars, char_type char_data[]) const
 
void load_reduct_obj_state (int num_values, const primitive_value_type value_data[], int num_indexes, const index_type index_data[], int num_chars, const char_type char_data[], ReductTarget *reduct_obj) const
 

Public Member Functions

 ROpScalarIndexReductionBase (const Scalar &initScalarReductObjValue=Teuchos::ScalarTraits< Scalar >::zero(), const Index &initIndexReductObjValue=Teuchos::ScalarTraits< Index >::zero())
 
const ScalarIndex< Scalar > & getRawVal (const ReductTarget &reduct_obj) const
 
void setRawVal (const ScalarIndex< Scalar > &rawVal, ReductTarget *reduct_obj) const
 

Protected Member Functions

void initScalarReductObjValue (const Scalar &initScalarReductObjValue)
 

Detailed Description

template<class Scalar>
class RTOpPack::ROpScalarIndexReductionBase< Scalar >

Base class for all reduction operators that return a ScalarIndex reduction object.

Subclasses have to minimally define apply_op() and reduce_reduct_objs().

Definition at line 319 of file RTOpPack_RTOpTHelpers.hpp.


Constructor & Destructor Documentation

template<class Scalar>
RTOpPack::ROpScalarIndexReductionBase< Scalar >::ROpScalarIndexReductionBase const Scalar &  initScalarReductObjValue = Teuchos::ScalarTraits<Scalar>::zero(),
const Index &  initIndexReductObjValue = Teuchos::ScalarTraits<Index>::zero()
[inline]
 

Definition at line 323 of file RTOpPack_RTOpTHelpers.hpp.


Member Function Documentation

template<class Scalar>
const ScalarIndex<Scalar>& RTOpPack::ROpScalarIndexReductionBase< Scalar >::getRawVal const ReductTarget reduct_obj  )  const [inline]
 

Definition at line 332 of file RTOpPack_RTOpTHelpers.hpp.

template<class Scalar>
void RTOpPack::ROpScalarIndexReductionBase< Scalar >::setRawVal const ScalarIndex< Scalar > &  rawVal,
ReductTarget reduct_obj
const [inline]
 

Definition at line 338 of file RTOpPack_RTOpTHelpers.hpp.

template<class Scalar>
void RTOpPack::ROpScalarIndexReductionBase< Scalar >::get_reduct_type_num_entries int *  num_values,
int *  num_indexes,
int *  num_chars
const [inline, virtual]
 

Reimplemented from RTOpPack::RTOpT< Scalar >.

Definition at line 349 of file RTOpPack_RTOpTHelpers.hpp.

template<class Scalar>
Teuchos::RefCountPtr<ReductTarget> RTOpPack::ROpScalarIndexReductionBase< Scalar >::reduct_obj_create  )  const [inline, virtual]
 

Reimplemented from RTOpPack::RTOpT< Scalar >.

Definition at line 360 of file RTOpPack_RTOpTHelpers.hpp.

template<class Scalar>
void RTOpPack::ROpScalarIndexReductionBase< Scalar >::reduct_obj_reinit ReductTarget reduct_obj  )  const [inline, virtual]
 

Reimplemented from RTOpPack::RTOpT< Scalar >.

Definition at line 369 of file RTOpPack_RTOpTHelpers.hpp.

template<class Scalar>
void RTOpPack::ROpScalarIndexReductionBase< Scalar >::extract_reduct_obj_state const ReductTarget reduct_obj,
int  num_values,
primitive_value_type  value_data[],
int  num_indexes,
index_type  index_data[],
int  num_chars,
char_type  char_data[]
const [inline, virtual]
 

Reimplemented from RTOpPack::RTOpT< Scalar >.

Definition at line 374 of file RTOpPack_RTOpTHelpers.hpp.

template<class Scalar>
void RTOpPack::ROpScalarIndexReductionBase< Scalar >::load_reduct_obj_state int  num_values,
const primitive_value_type  value_data[],
int  num_indexes,
const index_type  index_data[],
int  num_chars,
const char_type  char_data[],
ReductTarget reduct_obj
const [inline, virtual]
 

Reimplemented from RTOpPack::RTOpT< Scalar >.

Definition at line 395 of file RTOpPack_RTOpTHelpers.hpp.

template<class Scalar>
void RTOpPack::ROpScalarIndexReductionBase< Scalar >::initScalarReductObjValue const Scalar &  initScalarReductObjValue  )  [inline, protected]
 

Definition at line 418 of file RTOpPack_RTOpTHelpers.hpp.


The documentation for this class was generated from the following file:
Generated on Thu Sep 18 12:30:39 2008 for Support Software for Vector Reduction/Transformation Operators by doxygen 1.3.9.1