Teuchos - Trilinos Tools Package Version of the Day
Public Member Functions
Teuchos::MpiReductionOpBase Class Reference

Base class for an MPI-compatible reduction operator. More...

#include <Teuchos_MpiReductionOpSetter.hpp>

Inheritance diagram for Teuchos::MpiReductionOpBase:
Teuchos::Describable Teuchos::LabeledObject Teuchos::MpiReductionOp< Ordinal >

List of all members.

Public Member Functions

virtual void reduce (void *invec, void *inoutvec, int *len, MPI_Datatype *datatype) const =0

Detailed Description

Base class for an MPI-compatible reduction operator.

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 59 of file Teuchos_MpiReductionOpSetter.hpp.

Member Function Documentation

virtual void Teuchos::MpiReductionOpBase::reduce ( void *  invec,
void *  inoutvec,
int *  len,
MPI_Datatype *  datatype 
) const [pure virtual]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines