Teuchos - Trilinos Tools Package Version of the Day
|
Base interface class for user-defined reduction operations for objects that use value semantics. More...
#include <Teuchos_ReductionOp.hpp>
Public Member Functions | |
virtual void | reduce (const Ordinal count, const T inBuffer[], T inoutBuffer[]) const =0 |
![]() | |
virtual std::string | description () const |
Return a simple one-line description of this object. | |
virtual void | describe (FancyOStream &out, const EVerbosityLevel verbLevel=verbLevel_default) const |
Print the object with some verbosity level to a FancyOStream. | |
void | describe (std::ostream &out, const EVerbosityLevel verbLevel=verbLevel_default) const |
Version of describe() that takes an std::ostream instead of a FancyOStream. | |
virtual | ~Describable () |
Destructor (marked virtual for memory safety of derived classes). | |
![]() | |
LabeledObject () | |
Construct with an empty label. | |
virtual | ~LabeledObject () |
virtual void | setObjectLabel (const std::string &objectLabel) |
Set the object label (see LabeledObject). | |
virtual std::string | getObjectLabel () const |
Get the object label (see LabeledObject). | |
Additional Inherited Members | |
![]() | |
static const EVerbosityLevel | verbLevel_default = VERB_DEFAULT |
Default value for the verbLevel argument of describe(). | |
![]() | |
DescribableStreamManipulatorState | describe (const Describable &describable, const EVerbosityLevel verbLevel=Describable::verbLevel_default) |
Describable output stream manipulator. | |
std::ostream & | operator<< (std::ostream &os, const DescribableStreamManipulatorState &d) |
Output stream operator for Describable manipulator. | |
Base interface class for user-defined reduction operations for objects that use value semantics.
ToDo: Finish documentation!
Comm
, not to the type of array indices. Definition at line 60 of file Teuchos_ReductionOp.hpp.
|
pure virtual |
Implemented in Teuchos::CharToValueTypeReductionOpImp< Ordinal, T, Serializer >, Teuchos::CharToValueTypeReductionOpImp< Ordinal, T, typename DefaultSerializer< Ordinal, T >::DefaultSerializerType >, Teuchos::CharToValueTypeReductionOpImp< Ordinal, T, DefaultSerializer< Ordinal, T >::DefaultSerializerType >, Teuchos::CharToReferenceTypeReductionOp< Ordinal, T >, Teuchos::SumValueReductionOp< Ordinal, Packet >, Teuchos::MinValueReductionOp< Ordinal, Packet >, Teuchos::MaxValueReductionOp< Ordinal, Packet >, Teuchos::ANDValueReductionOp< Ordinal, Packet >, Teuchos::MaxLoc< Ordinal, ScalarType, IndexType >, Teuchos::MinLoc< Ordinal, ScalarType, IndexType >, and Teuchos::MinLocNonzero< Ordinal, ScalarType, IndexType >.