PlayaFunctors::BoundedMinLocFunctor< Scalar > Class Template Reference

Find minimum element above a lower bound, returning value and location. More...

Inheritance diagram for PlayaFunctors::BoundedMinLocFunctor< Scalar >:

PlayaFunctors::ReductionFunctorBase< Scalar >

List of all members.

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_


Detailed Description

template<class Scalar>
class PlayaFunctors::BoundedMinLocFunctor< Scalar >

Find minimum element above a lower bound, returning value and location.

Definition at line 116 of file PlayaVectorOpsImpl.hpp.


Constructor & Destructor Documentation

template<class Scalar >
PlayaFunctors::BoundedMinLocFunctor< Scalar >::BoundedMinLocFunctor ( const MPIComm comm,
const Scalar &  bound,
int  baseGNI 
) [inline]


Member Function Documentation

template<class Scalar >
std::string PlayaFunctors::BoundedMinLocFunctor< Scalar >::description (  )  const [inline]

Definition at line 158 of file PlayaVectorOpsImpl.hpp.

template<class Scalar >
void PlayaFunctors::BoundedMinLocFunctor< Scalar >::postProc (  )  const [inline, virtual]

template<class Scalar >
IndexedValue<Scalar> PlayaFunctors::BoundedMinLocFunctor< Scalar >::result (  )  const [inline]

template<class Scalar >
void PlayaFunctors::BoundedMinLocFunctor< Scalar >::step ( int  i,
const Scalar &  x 
) const [inline]


Member Data Documentation

template<class Scalar >
int PlayaFunctors::BoundedMinLocFunctor< Scalar >::baseGNI_ [private]

template<class Scalar >
Scalar PlayaFunctors::BoundedMinLocFunctor< Scalar >::bound_ [private]

template<class Scalar >
MPIComm PlayaFunctors::BoundedMinLocFunctor< Scalar >::comm_ [private]

Reimplemented from PlayaFunctors::ReductionFunctorBase< Scalar >.

Definition at line 161 of file PlayaVectorOpsImpl.hpp.

template<class Scalar >
IndexedValue<Scalar> PlayaFunctors::BoundedMinLocFunctor< Scalar >::min_ [mutable, private]

Site Contact