Public Member Functions | |
Min (const MPIComm &comm) | |
void | step (int i, const Scalar &x) const |
void | postProc () const |
Scalar | result () const |
std::string | description () const |
Private Attributes | |
Scalar | val_ |
Definition at line 402 of file PlayaVectorFunctorsImpl.hpp.
PlayaFunctors::Min< Scalar >::Min | ( | const MPIComm & | comm | ) | [inline] |
Definition at line 405 of file PlayaVectorFunctorsImpl.hpp.
std::string PlayaFunctors::Min< Scalar >::description | ( | ) | const [inline] |
Definition at line 426 of file PlayaVectorFunctorsImpl.hpp.
void PlayaFunctors::Min< Scalar >::postProc | ( | ) | const [inline, virtual] |
Callback for any postprocessing step (for example, MPI all-reduce)
Implements PlayaFunctors::ReductionFunctorBase< Scalar >.
Definition at line 413 of file PlayaVectorFunctorsImpl.hpp.
References Playa::MPIComm::allReduce(), PlayaFunctors::ReductionFunctorBase< Scalar >::comm(), Playa::MPIDataType::doubleType(), Playa::MPIOp::minOp(), and PlayaFunctors::Min< Scalar >::val_.
Scalar PlayaFunctors::Min< Scalar >::result | ( | ) | const [inline] |
Definition at line 420 of file PlayaVectorFunctorsImpl.hpp.
References PlayaFunctors::Min< Scalar >::val_.
void PlayaFunctors::Min< Scalar >::step | ( | int | i, | |
const Scalar & | x | |||
) | const [inline] |
Definition at line 408 of file PlayaVectorFunctorsImpl.hpp.
References PlayaFunctors::Min< Scalar >::val_.
Scalar PlayaFunctors::Min< Scalar >::val_ [mutable, private] |
Definition at line 429 of file PlayaVectorFunctorsImpl.hpp.
Referenced by PlayaFunctors::Min< Scalar >::postProc(), PlayaFunctors::Min< Scalar >::result(), and PlayaFunctors::Min< Scalar >::step().