Function Dune::XT::Functions::make_grid_function

Function template Dune::XT::Functions::make_grid_function

template<class Element_or_GridView, int d, int r, int rC, class R>
auto Dune::XT::Functions::make_grid_function(const FunctionInterface<d, r, rC, R> &func)

Creates a GridFunction wrapping func, deducing the element type from the explicitly given element or grid view type.