11 #ifndef RTOPPACK_ROP_GET_ELEMENT_HPP
12 #define RTOPPACK_ROP_GET_ELEMENT_HPP
14 #include "RTOpPack_RTOpTHelpers.hpp"
21 template<
class Scalar>
49 template<
class Scalar>
54 ROpGetElementEleWiseReductionOp<Scalar>
89 #endif // RTOPPACK_ROP_GET_ELEMENT_HPP
Base class for coordinate-variant scalar reduction RTOps with one input vector.
void initialize(const Ordinal &global_i)
ROpGetElementEleWiseReductionOp(const Ordinal &global_i_in=-1)
const ROpGetElementEleWiseReductionOp< Scalar > & getEleWiseReduction() const
void setEleWiseReduction(ROpGetElementEleWiseReductionOp< Scalar >eleWiseReduction_in)
Teuchos_Ordinal index_type
ROpGetElement(const Ordinal &global_i)
Returns the value of the element at index global_i.
Scalar operator()(const ReductTarget &reduct_obj) const
Abstract base class for all reduction objects.
void setOpNameBase(const std::string &op_name_base)
Just set the operator name.
void operator()(const index_type i, const Scalar &v0, Scalar &reduct) const
const Scalar & getRawVal(const ReductTarget &reduct_obj) const
virtual Range1D range_impl() const