|
RTOp Package Browser (Single Doxygen Collection)
Version of the Day
|
Go to the documentation of this file.
43 #ifndef RTOPPACK_ROP_GET_ELEMENT_HPP
44 #define RTOPPACK_ROP_GET_ELEMENT_HPP
46 #include "RTOpPack_RTOpTHelpers.hpp"
53 template<
class Scalar>
81 template<
class Scalar>
86 ROpGetElementEleWiseReductionOp<Scalar>
121 #endif // RTOPPACK_ROP_GET_ELEMENT_HPP
const ROpGetElementEleWiseReductionOp< Scalar > & getEleWiseReduction() const
Base class for coordinate-variant scalar reduction RTOps with one input vector.
Scalar operator()(const ReductTarget &reduct_obj) const
void setEleWiseReduction(ROpGetElementEleWiseReductionOp< Scalar > eleWiseReduction_in)
virtual Range1D range_impl() const
ROpGetElementEleWiseReductionOp(const Ordinal &global_i_in=-1)
void operator()(const index_type i, const Scalar &v0, Scalar &reduct) const
void initialize(const Ordinal &global_i)
const Scalar & getRawVal(const ReductTarget &reduct_obj) const
Teuchos_Ordinal index_type
ROpGetElement(const Ordinal &global_i)
Abstract base class for all reduction objects.
void setOpNameBase(const std::string &op_name_base)
Just set the operator name.
Returns the value of the element at index global_i.