Find minimum element above a lower bound, returning value and location. More...
Public Member Functions | |
| BoundedMinLocFunctor (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 > | min_ |
| Scalar | bound_ |
| int | baseGNI_ |
Find minimum element above a lower bound, returning value and location.
Definition at line 153 of file PlayaVectorOpsImpl.hpp.
| PlayaFunctors::BoundedMinLocFunctor< Scalar >::BoundedMinLocFunctor | ( | const MPIComm & | comm, |
| const Scalar & | bound, | ||
| int | baseGNI | ||
| ) | [inline] |
Definition at line 157 of file PlayaVectorOpsImpl.hpp.
References PlayaFunctors::BoundedMinLocFunctor< Scalar >::min_.
| std::string PlayaFunctors::BoundedMinLocFunctor< Scalar >::description | ( | ) | const [inline] |
Definition at line 195 of file PlayaVectorOpsImpl.hpp.
| void PlayaFunctors::BoundedMinLocFunctor< Scalar >::postProc | ( | ) | const [inline, virtual] |
Implements PlayaFunctors::ReductionFunctorBase< Scalar >.
Definition at line 177 of file PlayaVectorOpsImpl.hpp.
References Playa::MPIComm::allReduce(), PlayaFunctors::BoundedMinLocFunctor< Scalar >::baseGNI_, PlayaFunctors::ReductionFunctorBase< Scalar >::comm(), Playa::MPIDataType::doubleIntPairType(), PlayaFunctors::BoundedMinLocFunctor< Scalar >::min_, and Playa::MPIOp::minlocOp().
| IndexedValue<Scalar> PlayaFunctors::BoundedMinLocFunctor< Scalar >::result | ( | ) | const [inline] |
Definition at line 189 of file PlayaVectorOpsImpl.hpp.
References PlayaFunctors::BoundedMinLocFunctor< Scalar >::min_.
| void PlayaFunctors::BoundedMinLocFunctor< Scalar >::step | ( | int | i, |
| const Scalar & | x | ||
| ) | const [inline] |
Definition at line 167 of file PlayaVectorOpsImpl.hpp.
References PlayaFunctors::BoundedMinLocFunctor< Scalar >::bound_, and PlayaFunctors::BoundedMinLocFunctor< Scalar >::min_.
int PlayaFunctors::BoundedMinLocFunctor< Scalar >::baseGNI_ [private] |
Definition at line 201 of file PlayaVectorOpsImpl.hpp.
Referenced by PlayaFunctors::BoundedMinLocFunctor< Scalar >::postProc().
Scalar PlayaFunctors::BoundedMinLocFunctor< Scalar >::bound_ [private] |
Definition at line 200 of file PlayaVectorOpsImpl.hpp.
Referenced by PlayaFunctors::BoundedMinLocFunctor< Scalar >::step().
MPIComm PlayaFunctors::BoundedMinLocFunctor< Scalar >::comm_ [private] |
Reimplemented from PlayaFunctors::ReductionFunctorBase< Scalar >.
Definition at line 198 of file PlayaVectorOpsImpl.hpp.
IndexedValue<Scalar> PlayaFunctors::BoundedMinLocFunctor< Scalar >::min_ [mutable, private] |
Definition at line 199 of file PlayaVectorOpsImpl.hpp.
Referenced by PlayaFunctors::BoundedMinLocFunctor< Scalar >::BoundedMinLocFunctor(), PlayaFunctors::BoundedMinLocFunctor< Scalar >::postProc(), PlayaFunctors::BoundedMinLocFunctor< Scalar >::result(), and PlayaFunctors::BoundedMinLocFunctor< Scalar >::step().