#include <RTOpPack_RTOpTHelpers.hpp>
Inheritance diagram for RTOpPack::ROpScalarReductionBase< Scalar, ReductScalar >:
Overridden from RTOpT | |
| void | get_reduct_type_num_entries (int *num_values, int *num_indexes, int *num_chars) const |
| | |
| Teuchos::RefCountPtr< ReductTarget > | reduct_obj_create () const |
| | |
| void | reduce_reduct_objs (const ReductTarget &in_reduct_obj, ReductTarget *inout_reduct_obj) const |
| Default implementation here is for a sum. | |
| 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 | |
| ROpScalarReductionBase (const ReductScalar &initReductObjValue=Teuchos::ScalarTraits< ReductScalar >::zero()) | |
| | |
| const ReductScalar & | getRawVal (const ReductTarget &reduct_obj) const |
| | |
| void | setRawVal (const ReductScalar &rawVal, ReductTarget *reduct_obj) const |
| | |
Protected Member Functions | |
| void | initReductObjValue (const ReductScalar &initReductObjValue) |
| | |
Subclasses have to minimally define apply_op(). Subclasses should also override reduce_reduct_objs() if the reduction is not a simple summation.
Definition at line 115 of file RTOpPack_RTOpTHelpers.hpp.
|
||||||||||
|
Definition at line 119 of file RTOpPack_RTOpTHelpers.hpp. |
|
||||||||||
|
Definition at line 125 of file RTOpPack_RTOpTHelpers.hpp. |
|
||||||||||||||||
|
Definition at line 131 of file RTOpPack_RTOpTHelpers.hpp. |
|
||||||||||||||||||||
|
Reimplemented from RTOpPack::RTOpT< Scalar >. Definition at line 142 of file RTOpPack_RTOpTHelpers.hpp. |
|
|||||||||
|
Reimplemented from RTOpPack::RTOpT< Scalar >. Definition at line 153 of file RTOpPack_RTOpTHelpers.hpp. |
|
||||||||||||||||
|
Default implementation here is for a sum.
Reimplemented from RTOpPack::RTOpT< Scalar >. Definition at line 158 of file RTOpPack_RTOpTHelpers.hpp. |
|
||||||||||
|
Reimplemented from RTOpPack::RTOpT< Scalar >. Definition at line 189 of file RTOpPack_RTOpTHelpers.hpp. |
|
||||||||||||||||||||||||||||||||||||
|
Reimplemented from RTOpPack::RTOpT< Scalar >. Definition at line 194 of file RTOpPack_RTOpTHelpers.hpp. |
|
||||||||||||||||||||||||||||||||||||
|
Reimplemented from RTOpPack::RTOpT< Scalar >. Definition at line 213 of file RTOpPack_RTOpTHelpers.hpp. |
|
||||||||||
|
Definition at line 277 of file RTOpPack_RTOpTHelpers.hpp. |
1.3.9.1