Function Dune::GDT::interpolate¶
Function template Dune::GDT::interpolate¶
-
template<class GV, size_t r, size_t rC, class R, class V, class IGVT>
std::enable_if_t<std::is_same<XT::Grid::extract_entity_t<GV>, typename IGVT::Grid::template Codim<0>::Entity>::value, void> Dune::GDT::interpolate(const XT::Functions::GridFunctionInterface<XT::Grid::extract_entity_t<GV>, r, rC, R> &source, DiscreteFunction<V, GV, r, rC, R> &target, const GridView<IGVT> &interpolation_grid_view, const XT::Common::Parameter ¶m = {})¶ Interpolates a grid function into an existing target DiscreteFunction using the given interpolation grid view.
Function template Dune::GDT::interpolate¶
-
template<class GV, size_t r, size_t rC, class R, class V>
void Dune::GDT::interpolate(const XT::Functions::GridFunctionInterface<XT::Grid::extract_entity_t<GV>, r, rC, R> &source, DiscreteFunction<V, GV, r, rC, R> &target, const XT::Common::Parameter ¶m = {})¶ Interpolates a grid function into an existing target DiscreteFunction using the target space’s grid view.
Function template Dune::GDT::interpolate¶
-
template<class GV, size_t r, size_t rC, class R>
DiscreteFunction<XT::LA::IstlDenseVector<R>, GV, r, rC, R> Dune::GDT::interpolate(const XT::Functions::GridFunctionInterface<XT::Grid::extract_entity_t<GV>, r, rC, R> &source, const SpaceInterface<GV, r, rC, R> &target_space, const XT::Common::Parameter ¶m = {})¶ Interpolates a grid function into a new DiscreteFunction of the given target space using the target space’s grid view (defaults to an ISTL dense vector).
Function template Dune::GDT::interpolate¶
-
template<class VectorType, class GV, size_t r, size_t rC, class R, class IGVT>
std::enable_if_t<XT::LA::is_vector<VectorType>::value && std::is_same<XT::Grid::extract_entity_t<GV>, typename IGVT::Grid::template Codim<0>::Entity>::value, DiscreteFunction<VectorType, GV, r, rC, R>> Dune::GDT::interpolate(const XT::Functions::GridFunctionInterface<XT::Grid::extract_entity_t<GV>, r, rC, R> &source, const SpaceInterface<GV, r, rC, R> &target_space, const GridView<IGVT> &interpolation_grid_view, const XT::Common::Parameter ¶m = {})¶ Interpolates a grid function into a new DiscreteFunction of the given target space using the given interpolation grid view (the vector type has to be provided explicitly).
Function template Dune::GDT::interpolate¶
-
template<class VectorType, class GV, size_t r, size_t rC, class R>
std::enable_if_t<XT::LA::is_vector<VectorType>::value, DiscreteFunction<VectorType, GV, r, rC, R>> Dune::GDT::interpolate(const XT::Functions::GridFunctionInterface<XT::Grid::extract_entity_t<GV>, r, rC, R> &source, const SpaceInterface<GV, r, rC, R> &target_space, const XT::Common::Parameter ¶m = {})¶ Interpolates a grid function into a new DiscreteFunction of the given target space using the target space’s grid view (the vector type has to be provided explicitly).