Function Dune::XT::Functions::reinterpret¶
Function template Dune::XT::Functions::reinterpret¶
-
template<class SourceGridView, size_t r, size_t rC, class R, class TargetGridView>
auto Dune::XT::Functions::reinterpret(const GridFunctionInterface<XT::Grid::extract_entity_t<SourceGridView>, r, rC, R> &source, const SourceGridView &source_grid_view, const TargetGridView&)¶ Reinterprets a given localizable function (associated with a given grid layer), on a different grid layer [TargetElement is automatically deduced].
See also:
ReinterpretLocalizableFunction
Function template Dune::XT::Functions::reinterpret¶
-
template<class TargetElement, class SourceGridView, size_t r, size_t rC, class R>
auto Dune::XT::Functions::reinterpret(const GridFunctionInterface<XT::Grid::extract_entity_t<SourceGridView>, r, rC, R> &source, const SourceGridView &source_grid_view)¶ Reinterprets a given localizable function (associated with a given grid layer), on a different grid layer [TargetElement has to be provided].
Use as in
auto reinterpreted_source = reinterpret<TargetElement>(source, source_grid_view);
See also:
ReinterpretLocalizableFunction