 
 
 

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