Function Dune::GDT::boundary_interpolation¶
Function template Dune::GDT::boundary_interpolation¶
-
template<class GV, size_t r, size_t rC, class R, class V, class IGV>
std::enable_if_t<std::is_same<XT::Grid::extract_entity_t<GV>, typename IGV::Grid::template Codim<0>::Entity>::value, void> Dune::GDT::boundary_interpolation(const XT::Functions::FunctionInterface<GridView<IGV>::dimension, r, rC, R> &source, DiscreteFunction<V, GV, r, rC, R> &target, const GridView<IGV> &interpolation_grid_view, const XT::Grid::BoundaryInfo<XT::Grid::extract_intersection_t<GridView<IGV>>> &boundary_info, const XT::Grid::BoundaryType &target_boundary_type)¶ Interpolates a function restricted to certain boundary intersections within a given space [most general variant].
Simply calls as_grid_function < >() and redirects to the appropriate boundary_interpolation() function.
Function template Dune::GDT::boundary_interpolation¶
-
template<class GV, size_t r, size_t rC, class R, class V, class IGV>
std::enable_if_t<std::is_same<XT::Grid::extract_entity_t<GV>, typename IGV::Grid::template Codim<0>::Entity>::value, void> Dune::GDT::boundary_interpolation(const XT::Functions::GridFunctionInterface<XT::Grid::extract_entity_t<GV>, r, rC, R> &source, DiscreteFunction<V, GV, r, rC, R> &target, const GridView<IGV> &interpolation_grid_view, const XT::Grid::BoundaryInfo<XT::Grid::extract_intersection_t<GridView<IGV>>> &boundary_info, const XT::Grid::BoundaryType &target_boundary_type)¶ Interpolates a localizable function restricted to certain boundary intersections within a given space [most general variant].
Simply uses the interpolation() of the target spaces finite_element() and selects only those DoFs which lie on intersections of correct boundary type.
Note
The same restrictions apply as for the default interpolations.
Function template Dune::GDT::boundary_interpolation¶
-
template<class GV, size_t r, size_t rC, class R, class V, class IGV>
std::enable_if_t<std::is_same<XT::Grid::extract_entity_t<GV>, typename IGV::Grid::template Codim<0>::Entity>::value, void> Dune::GDT::boundary_interpolation(const int source_order, const std::function<typename XT::Functions::GenericFunction<GridView<IGV>::dimension, r, rC, R>::RangeReturnType(const typename XT::Functions::GenericFunction<GridView<IGV>::dimension, r, rC, R>::DomainType&, const XT::Common::Parameter&)> source_evaluate_lambda, DiscreteFunction<V, GV, r, rC, R> &target, const GridView<IGV> &interpolation_grid_view, const XT::Grid::BoundaryInfo<XT::Grid::extract_intersection_t<GridView<IGV>>> &boundary_info, const XT::Grid::BoundaryType &target_boundary_type)¶ Interpolates a function given as a lambda expression restricted to certain boundary intersections within a given space [most general variant].
Simply creates a XT::Functions::GenericFunction and redirects to the appropriate boundary_interpolation() function.
Function template Dune::GDT::boundary_interpolation¶
-
template<class GV, size_t r, size_t rC, class R, class V>
void Dune::GDT::boundary_interpolation(const XT::Functions::FunctionInterface<GV::dimension, r, rC, R> &source, DiscreteFunction<V, GV, r, rC, R> &target, const XT::Grid::BoundaryInfo<XT::Grid::extract_intersection_t<GV>> &boundary_info, const XT::Grid::BoundaryType &target_boundary_type)¶ Interpolates a function restricted to certain boundary intersections within a given space [uses target.space().grid_view() as interpolation_grid_view].
Function template Dune::GDT::boundary_interpolation¶
-
template<class GV, size_t r, size_t rC, class R, class V>
void Dune::GDT::boundary_interpolation(const XT::Functions::GridFunctionInterface<XT::Grid::extract_entity_t<GV>, r, rC, R> &source, DiscreteFunction<V, GV, r, rC, R> &target, const XT::Grid::BoundaryInfo<XT::Grid::extract_intersection_t<GV>> &boundary_info, const XT::Grid::BoundaryType &target_boundary_type)¶ Interpolates a localizable function restricted to certain boundary intersections within a given space [uses target.space().grid_view() as interpolation_grid_view].
Function template Dune::GDT::boundary_interpolation¶
-
template<class GV, size_t r, size_t rC, class R, class V>
void Dune::GDT::boundary_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::Grid::BoundaryInfo<XT::Grid::extract_intersection_t<GV>> &boundary_info, const XT::Grid::BoundaryType &target_boundary_type)¶ Interpolates a function given as a lambda expression restricted to certain boundary intersections within a given space [uses target.space().grid_view() as interpolation_grid_view].
Function template Dune::GDT::boundary_interpolation¶
-
template<class VectorType, class GV, size_t r, size_t rC, class R, class IGV>
std::enable_if_t<XT::LA::is_vector<VectorType>::value && std::is_same<XT::Grid::extract_entity_t<GV>, typename IGV::Grid::template Codim<0>::Entity>::value, DiscreteFunction<VectorType, GV, r, rC, R>> Dune::GDT::boundary_interpolation(const XT::Functions::FunctionInterface<GridView<IGV>::dimension, r, rC, R> &source, const SpaceInterface<GV, r, rC, R> &target_space, const GridView<IGV> &interpolation_grid_view, const XT::Grid::BoundaryInfo<XT::Grid::extract_intersection_t<GridView<IGV>>> &boundary_info, const XT::Grid::BoundaryType &target_boundary_type)¶ Interpolates a function restricted to certain boundary intersections within a given space [creates a suitable target function].
Function template Dune::GDT::boundary_interpolation¶
-
template<class VectorType, class GV, size_t r, size_t rC, class R, class IGV>
std::enable_if_t<XT::LA::is_vector<VectorType>::value && std::is_same<XT::Grid::extract_entity_t<GV>, typename IGV::Grid::template Codim<0>::Entity>::value, DiscreteFunction<VectorType, GV, r, rC, R>> Dune::GDT::boundary_interpolation(const XT::Functions::GridFunctionInterface<XT::Grid::extract_entity_t<GV>, r, rC, R> &source, const SpaceInterface<GV, r, rC, R> &target_space, const GridView<IGV> &interpolation_grid_view, const XT::Grid::BoundaryInfo<XT::Grid::extract_intersection_t<GridView<IGV>>> &boundary_info, const XT::Grid::BoundaryType &target_boundary_type)¶ Interpolates a localizable function restricted to certain boundary intersections within a given space [creates a suitable target function].
Function template Dune::GDT::boundary_interpolation¶
-
template<class VectorType, class GV, size_t r, size_t rC, class R, class IGV>
std::enable_if_t<XT::LA::is_vector<VectorType>::value && std::is_same<XT::Grid::extract_entity_t<GV>, typename IGV::Grid::template Codim<0>::Entity>::value, DiscreteFunction<VectorType, GV, r, rC, R>> Dune::GDT::boundary_interpolation(const int source_order, const std::function<typename XT::Functions::GenericFunction<GridView<IGV>::dimension, r, rC, R>::RangeReturnType(const typename XT::Functions::GenericFunction<GridView<IGV>::dimension, r, rC, R>::DomainType&, const XT::Common::Parameter&)> source_evaluate_lambda, const SpaceInterface<GV, r, rC, R> &target_space, const GridView<IGV> &interpolation_grid_view, const XT::Grid::BoundaryInfo<XT::Grid::extract_intersection_t<GridView<IGV>>> &boundary_info, const XT::Grid::BoundaryType &target_boundary_type)¶ Interpolates a function given as a lambda expression within a given space [creates a suitable target function].
Function template Dune::GDT::boundary_interpolation¶
-
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::boundary_interpolation(const XT::Functions::FunctionInterface<GV::dimension, r, rC, R> &source, const SpaceInterface<GV, r, rC, R> &target_space, const XT::Grid::BoundaryInfo<XT::Grid::extract_intersection_t<GV>> &boundary_info, const XT::Grid::BoundaryType &target_boundary_type)¶ Interpolates a function restricted to certain boundary intersections within a given space [creates a suitable target function, uses target_space.grid_view() as interpolation_grid_view].
Function template Dune::GDT::boundary_interpolation¶
-
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::boundary_interpolation(const XT::Functions::GridFunctionInterface<XT::Grid::extract_entity_t<GV>, r, rC, R> &source, const SpaceInterface<GV, r, rC, R> &target_space, const XT::Grid::BoundaryInfo<XT::Grid::extract_intersection_t<GV>> &boundary_info, const XT::Grid::BoundaryType &target_boundary_type)¶ Interpolates a localizable function restricted to certain boundary intersections within a given space [creates a suitable target function, uses target_space.grid_view() as interpolation_grid_view].
Function template Dune::GDT::boundary_interpolation¶
-
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::boundary_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, const SpaceInterface<GV, r, rC, R> &target_space, const XT::Grid::BoundaryInfo<XT::Grid::extract_intersection_t<GV>> &boundary_info, const XT::Grid::BoundaryType &target_boundary_type)¶ Interpolates a function given as a lambda expression within a given space [creates a suitable target function, uses target_space.grid_view() as interpolation_grid_view].