Public Member Functions | |
BoundedMaxLocFunctor (const MPIComm &comm, const Scalar &bound, int baseGNI) | |
void | step (int i, const Scalar &x) const |
void | postProc () const |
IndexedValue< Scalar > | result () const |
std::string | description () const |
Private Attributes | |
MPIComm | comm_ |
IndexedValue< Scalar > | max_ |
Scalar | bound_ |
int | baseGNI_ |
Definition at line 171 of file PlayaVectorOpsImpl.hpp.
PlayaFunctors::BoundedMaxLocFunctor< Scalar >::BoundedMaxLocFunctor | ( | const MPIComm & | comm, | |
const Scalar & | bound, | |||
int | baseGNI | |||
) | [inline] |
Definition at line 175 of file PlayaVectorOpsImpl.hpp.
References PlayaFunctors::BoundedMaxLocFunctor< Scalar >::max_.
std::string PlayaFunctors::BoundedMaxLocFunctor< Scalar >::description | ( | ) | const [inline] |
Definition at line 213 of file PlayaVectorOpsImpl.hpp.
void PlayaFunctors::BoundedMaxLocFunctor< Scalar >::postProc | ( | ) | const [inline, virtual] |
Implements PlayaFunctors::ReductionFunctorBase< Scalar >.
Definition at line 195 of file PlayaVectorOpsImpl.hpp.
References Playa::MPIComm::allReduce(), PlayaFunctors::BoundedMaxLocFunctor< Scalar >::baseGNI_, PlayaFunctors::ReductionFunctorBase< Scalar >::comm(), Playa::MPIDataType::doubleIntPairType(), PlayaFunctors::BoundedMaxLocFunctor< Scalar >::max_, and Playa::MPIOp::minlocOp().
IndexedValue<Scalar> PlayaFunctors::BoundedMaxLocFunctor< Scalar >::result | ( | ) | const [inline] |
Definition at line 207 of file PlayaVectorOpsImpl.hpp.
References PlayaFunctors::BoundedMaxLocFunctor< Scalar >::max_.
void PlayaFunctors::BoundedMaxLocFunctor< Scalar >::step | ( | int | i, | |
const Scalar & | x | |||
) | const [inline] |
Definition at line 185 of file PlayaVectorOpsImpl.hpp.
References PlayaFunctors::BoundedMaxLocFunctor< Scalar >::bound_, and PlayaFunctors::BoundedMaxLocFunctor< Scalar >::max_.
int PlayaFunctors::BoundedMaxLocFunctor< Scalar >::baseGNI_ [private] |
Definition at line 219 of file PlayaVectorOpsImpl.hpp.
Referenced by PlayaFunctors::BoundedMaxLocFunctor< Scalar >::postProc().
Scalar PlayaFunctors::BoundedMaxLocFunctor< Scalar >::bound_ [private] |
Definition at line 218 of file PlayaVectorOpsImpl.hpp.
Referenced by PlayaFunctors::BoundedMaxLocFunctor< Scalar >::step().
MPIComm PlayaFunctors::BoundedMaxLocFunctor< Scalar >::comm_ [private] |
Reimplemented from PlayaFunctors::ReductionFunctorBase< Scalar >.
Definition at line 216 of file PlayaVectorOpsImpl.hpp.
IndexedValue<Scalar> PlayaFunctors::BoundedMaxLocFunctor< Scalar >::max_ [mutable, private] |
Definition at line 217 of file PlayaVectorOpsImpl.hpp.
Referenced by PlayaFunctors::BoundedMaxLocFunctor< Scalar >::BoundedMaxLocFunctor(), PlayaFunctors::BoundedMaxLocFunctor< Scalar >::postProc(), PlayaFunctors::BoundedMaxLocFunctor< Scalar >::result(), and PlayaFunctors::BoundedMaxLocFunctor< Scalar >::step().