43 #ifndef RTOPPACK_TOP_SET_ASSENDING_VALUES_HPP 44 #define RTOPPACK_TOP_SET_ASSENDING_VALUES_HPP 46 #include "RTOpPack_RTOpTHelpers.hpp" 47 #include "Teuchos_as.hpp" 54 template<
class Scalar>
62 void operator()(
const Ordinal global_i, Scalar &z0 )
const 64 z0 = offset_ + Teuchos::as<Scalar>(global_i + 1);
74 template<
class Scalar>
92 #endif // RTOPPACK_TOP_SET_ASSENDING_VALUES_HPP
TOpSetAssendingValues(const Scalar &offset=static_cast< Scalar >(0.0))
Set the elements of a vector to: z0[i] = i+offset+1, i=0...n-1.
void setOpNameBase(const std::string &op_name_base)