Function Dune::GDT::make_discrete_bochner_function¶
Function template Dune::GDT::make_discrete_bochner_function¶
-
template<class GV, size_t r, size_t rC, class R, class V>
DiscreteBochnerFunction<V, GV, r, rC, R> Dune::GDT::make_discrete_bochner_function(const BochnerSpace<GV, r, rC, R> &bochner_space, XT::LA::ListVectorArray<V> &dof_vectors, const std::string name = "")¶ Creates a DiscreteBochnerFunction wrapping existing DoF vectors.
Function template Dune::GDT::make_discrete_bochner_function¶
-
template<class VectorType, class GV, size_t r, size_t rC, class R>
typename std::enable_if<XT::LA::is_vector<VectorType>::value, DiscreteBochnerFunction<VectorType, GV, r, rC, R>>::type Dune::GDT::make_discrete_bochner_function(const BochnerSpace<GV, r, rC, R> &bochner_space, const std::string name = "")¶ Creates a DiscreteBochnerFunction with freshly allocated DoF vectors for the given Bochner space.