PlayaFunctors::BoundedMaxLocFunctor< Scalar > Class Template Reference

Find maximum element below an upper bound, returning value and location. More...

#include <PlayaVectorOpsImpl.hpp>

Inheritance diagram for PlayaFunctors::BoundedMaxLocFunctor< Scalar >:

PlayaFunctors::ReductionFunctorBase< Scalar >

List of all members.

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


Detailed Description

template<class Scalar>
class PlayaFunctors::BoundedMaxLocFunctor< Scalar >

Find maximum element below an upper bound, returning value and location.

Definition at line 171 of file PlayaVectorOpsImpl.hpp.


Constructor & Destructor Documentation

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

Definition at line 175 of file PlayaVectorOpsImpl.hpp.


Member Function Documentation

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

Definition at line 185 of file PlayaVectorOpsImpl.hpp.

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

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

Definition at line 207 of file PlayaVectorOpsImpl.hpp.

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

Definition at line 213 of file PlayaVectorOpsImpl.hpp.


The documentation for this class was generated from the following file:

doxygen