11 #ifndef RTOPPACK_ROP_MIN_INDEX_GREATER_THAN_BOUND_HPP
12 #define RTOPPACK_ROP_MIN_INDEX_GREATER_THAN_BOUND_HPP
22 template<
class Scalar>
62 template<
class Scalar>
67 ROpMinIndexGreaterThanBoundEleWiseReductionOp<Scalar>,
68 ROpMinIndexReductObjReductionOp<Scalar> >
79 this->initReductObjValue(
83 void bound(
const Scalar& bound_in)
99 #endif // RTOPPACK_ROP_MIN_INDEX_GREATER_THAN_BOUND_HPP
Base class for coordinate-variant scalar reduction RTOps with one input vector.
void setEleWiseReduction(ROpMinIndexGreaterThanBoundEleWiseReductionOp< Scalar >eleWiseReduction_in)
Teuchos_Ordinal index_type
void bound(const Scalar &bound_in)
Returns the minimum element greater than some bound along with its index: result.scalar = x(k) and re...
ROpMinIndexGreaterThanBoundEleWiseReductionOp(const Scalar &bound=ScalarTraits< Scalar >::zero())
Simple struct for a Scalar and an Ordinal object.
Abstract base class for all reduction objects.
void setOpNameBase(const std::string &op_name_base)
Just set the operator name.
const ScalarIndex< Scalar > & getRawVal(const ReductTarget &reduct_obj) const
ROpMinIndexGreaterThanBound(const Scalar &bound_in=Teuchos::ScalarTraits< Scalar >::zero())
void operator()(const index_type i, const Scalar &v0, ScalarIndex< Scalar > &reduct) const
ScalarIndex< Scalar > operator()(const ReductTarget &reduct_obj) const