Function Dune::GDT::default_interpolation¶
-
template<class GV, size_t r, size_t rC, class R, class V>
void Dune::GDT::default_interpolation(const XT::Functions::FunctionInterface<GV::dimension, r, rC, R> &source, DiscreteFunction<V, GV, r, rC, R> &target, const XT::Common::Parameter ¶m =<recovery-expr>({}))¶ Interpolates a function within a given space [uses target.space().grid_view() as interpolation_grid_view].
-
template<class GV, size_t r, size_t rC, class R, class V>
void Dune::GDT::default_interpolation(const int source_order, const std::function<typename XT::Functions::GenericFunction<GV::dimension, r, rC, R>::RangeReturnType(const typename XT::Functions::GenericFunction<GV::dimension, r, rC, R>::DomainType&, const XT::Common::Parameter&)> source_evaluate_lambda, DiscreteFunction<V, GV, r, rC, R> &target, const XT::Common::Parameter ¶m =<recovery-expr>({}))¶ Interpolates a function given as a lambda expression within a given space [uses target.space().grid_view() as interpolation_grid_view].