Public Member Functions | |
NormInf (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 336 of file PlayaVectorFunctorsImpl.hpp.
PlayaFunctors::NormInf< Scalar >::NormInf | ( | const MPIComm & | comm | ) | [inline] |
Definition at line 339 of file PlayaVectorFunctorsImpl.hpp.
std::string PlayaFunctors::NormInf< Scalar >::description | ( | ) | const [inline] |
Definition at line 361 of file PlayaVectorFunctorsImpl.hpp.
void PlayaFunctors::NormInf< Scalar >::postProc | ( | ) | const [inline, virtual] |
Callback for any postprocessing step (for example, MPI all-reduce)
Implements PlayaFunctors::ReductionFunctorBase< Scalar >.
Definition at line 348 of file PlayaVectorFunctorsImpl.hpp.
References Playa::MPIComm::allReduce(), PlayaFunctors::ReductionFunctorBase< Scalar >::comm(), Playa::MPIDataType::doubleType(), Playa::MPIOp::maxOp(), and PlayaFunctors::NormInf< Scalar >::val_.
Scalar PlayaFunctors::NormInf< Scalar >::result | ( | ) | const [inline] |
Definition at line 355 of file PlayaVectorFunctorsImpl.hpp.
References PlayaFunctors::NormInf< Scalar >::val_.
void PlayaFunctors::NormInf< Scalar >::step | ( | int | i, | |
const Scalar & | x | |||
) | const [inline] |
Definition at line 342 of file PlayaVectorFunctorsImpl.hpp.
References PlayaFunctors::NormInf< Scalar >::val_.
Scalar PlayaFunctors::NormInf< Scalar >::val_ [mutable, private] |
Definition at line 364 of file PlayaVectorFunctorsImpl.hpp.
Referenced by PlayaFunctors::NormInf< Scalar >::postProc(), PlayaFunctors::NormInf< Scalar >::result(), and PlayaFunctors::NormInf< Scalar >::step().