Public Member Functions | |
NormInfDist (const MPIComm &comm) | |
void | step (int i, const Scalar &x, const Scalar &y) const |
void | postProc () const |
Scalar | result () const |
std::string | description () const |
Private Attributes | |
Scalar | val_ |
Definition at line 294 of file PlayaVectorOpsImpl.hpp.
PlayaFunctors::NormInfDist< Scalar >::NormInfDist | ( | const MPIComm & | comm | ) | [inline] |
Definition at line 297 of file PlayaVectorOpsImpl.hpp.
std::string PlayaFunctors::NormInfDist< Scalar >::description | ( | ) | const [inline] |
Definition at line 319 of file PlayaVectorOpsImpl.hpp.
void PlayaFunctors::NormInfDist< Scalar >::postProc | ( | ) | const [inline, virtual] |
Callback for any postprocessing step (for example, MPI all-reduce)
Implements PlayaFunctors::ReductionFunctorBase< Scalar >.
Definition at line 306 of file PlayaVectorOpsImpl.hpp.
References Playa::MPIComm::allReduce(), PlayaFunctors::ReductionFunctorBase< Scalar >::comm(), Playa::MPIDataType::doubleType(), Playa::MPIOp::maxOp(), and PlayaFunctors::NormInfDist< Scalar >::val_.
Scalar PlayaFunctors::NormInfDist< Scalar >::result | ( | ) | const [inline] |
Definition at line 313 of file PlayaVectorOpsImpl.hpp.
References PlayaFunctors::NormInfDist< Scalar >::val_.
void PlayaFunctors::NormInfDist< Scalar >::step | ( | int | i, | |
const Scalar & | x, | |||
const Scalar & | y | |||
) | const [inline] |
Definition at line 300 of file PlayaVectorOpsImpl.hpp.
References PlayaFunctors::NormInfDist< Scalar >::val_.
Scalar PlayaFunctors::NormInfDist< Scalar >::val_ [mutable, private] |
Definition at line 322 of file PlayaVectorOpsImpl.hpp.
Referenced by PlayaFunctors::NormInfDist< Scalar >::postProc(), PlayaFunctors::NormInfDist< Scalar >::result(), and PlayaFunctors::NormInfDist< Scalar >::step().