
Public Member Functions | |
| Norm1 (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 304 of file PlayaVectorFunctorsImpl.hpp.
| PlayaFunctors::Norm1< Scalar >::Norm1 | ( | const MPIComm & | comm | ) | [inline] |
Definition at line 307 of file PlayaVectorFunctorsImpl.hpp.
| std::string PlayaFunctors::Norm1< Scalar >::description | ( | ) | const [inline] |
Definition at line 328 of file PlayaVectorFunctorsImpl.hpp.
| void PlayaFunctors::Norm1< Scalar >::postProc | ( | ) | const [inline, virtual] |
Callback for any postprocessing step (for example, MPI all-reduce)
Implements PlayaFunctors::ReductionFunctorBase< Scalar >.
Definition at line 315 of file PlayaVectorFunctorsImpl.hpp.
References Playa::MPIComm::allReduce(), PlayaFunctors::ReductionFunctorBase< Scalar >::comm(), Playa::MPIDataType::doubleType(), Playa::MPIOp::sumOp(), and PlayaFunctors::Norm1< Scalar >::val_.
| Scalar PlayaFunctors::Norm1< Scalar >::result | ( | ) | const [inline] |
Definition at line 322 of file PlayaVectorFunctorsImpl.hpp.
References PlayaFunctors::Norm1< Scalar >::val_.
| void PlayaFunctors::Norm1< Scalar >::step | ( | int | i, | |
| const Scalar & | x | |||
| ) | const [inline] |
Definition at line 310 of file PlayaVectorFunctorsImpl.hpp.
References PlayaFunctors::Norm1< Scalar >::val_.
Scalar PlayaFunctors::Norm1< Scalar >::val_ [mutable, private] |
Definition at line 331 of file PlayaVectorFunctorsImpl.hpp.
Referenced by PlayaFunctors::Norm1< Scalar >::postProc(), PlayaFunctors::Norm1< Scalar >::result(), and PlayaFunctors::Norm1< Scalar >::step().