#include <Teuchos_MpiReductionOpSetter.hpp>
Inheritance diagram for Teuchos::MpiReductionOpBase:

Public Member Functions | |
| virtual void | reduce (void *invec, void *inoutvec, int *len, MPI_Datatype *datatype) const =0 |
| | |
The base class allows clients to create a reduction callback as an object instead of just as a global function. The single extra level of indirection should not be a performance problem in must cases.
Note, HAVE_MPI must be defined to use this class!.
Definition at line 46 of file Teuchos_MpiReductionOpSetter.hpp.
|
||||||||||||||||||||
|
Implemented in Teuchos::MpiReductionOp< Ordinal >. |
1.3.9.1