Function Dune::GDT::make_constant_forward_operator

template<class GV, size_t r, size_t rC, class F, class V>
auto Dune::GDT::make_constant_forward_operator(const SpaceInterface<GV, r, rC, F> &space, const int &value, const std::string &logging_prefix = <recovery-expr>(""), const std::array<bool, 3> &logging_state = <recovery-expr>())

Creates a ConstantForwardOperator from a space and a constant value vector.

template<class GV, size_t r, size_t rC, class F, class VectorType>
auto Dune::GDT::make_constant_forward_operator(const SpaceInterface<GV, r, rC, F> &space, VectorType *&&value_ptr, const std::string &logging_prefix = <recovery-expr>(""), const std::array<bool, 3> &logging_state = <recovery-expr>())

Creates a ConstantForwardOperator from a space, taking ownership of the given value vector.