Public Member Functions | |
ReductionFunctorBase (const MPIComm &comm) | |
virtual void | postProc () const =0 |
Protected Member Functions | |
const MPIComm & | comm () const |
Private Attributes | |
MPIComm | comm_ |
Definition at line 43 of file PlayaVectorFunctorsDecl.hpp.
PlayaFunctors::ReductionFunctorBase< Scalar >::ReductionFunctorBase | ( | const MPIComm & | comm | ) | [inline] |
Construct with a communicator
Definition at line 47 of file PlayaVectorFunctorsDecl.hpp.
const MPIComm& PlayaFunctors::ReductionFunctorBase< Scalar >::comm | ( | ) | const [inline, protected] |
Return the MPI communicator
Definition at line 58 of file PlayaVectorFunctorsDecl.hpp.
virtual void PlayaFunctors::ReductionFunctorBase< Scalar >::postProc | ( | ) | const [pure virtual] |
Callback for any postprocessing step (for example, MPI all-reduce)
Implemented in PlayaFunctors::Norm2< Scalar >, PlayaFunctors::WeightedNorm2< Scalar >, PlayaFunctors::Norm1< Scalar >, PlayaFunctors::NormInf< Scalar >, PlayaFunctors::DotProduct< Scalar >, PlayaFunctors::Min< Scalar >, PlayaFunctors::Max< Scalar >, PlayaFunctors::BoundedMinLocFunctor< Scalar >, PlayaFunctors::BoundedMaxLocFunctor< Scalar >, PlayaFunctors::Norm2Dist< Scalar >, PlayaFunctors::Norm1Dist< Scalar >, and PlayaFunctors::NormInfDist< Scalar >.
MPIComm PlayaFunctors::ReductionFunctorBase< Scalar >::comm_ [private] |
Reimplemented in PlayaFunctors::WeightedNorm2< Scalar >, PlayaFunctors::BoundedMinLocFunctor< Scalar >, and PlayaFunctors::BoundedMaxLocFunctor< Scalar >.
Definition at line 61 of file PlayaVectorFunctorsDecl.hpp.
Referenced by PlayaFunctors::ReductionFunctorBase< Scalar >::comm().