Function Dune::XT::Functions::make_transformed_function¶
Function template Dune::XT::Functions::make_transformed_function¶
-
template<int new_r, int new_rC, class new_R, class E, int r, int rC, class R>
TransformedGridFunction<GridFunctionInterface<E, r, rC, R>, new_r, new_rC, new_R> Dune::XT::Functions::make_transformed_function(const GridFunctionInterface<E, r, rC, R> &function, std::function<typename TransformedGridFunction<GridFunctionInterface<E, r, rC, R>, new_r, new_rC, new_R>::TransformedRangeType(const typename TransformedGridFunction<GridFunctionInterface<E, r, rC, R>, new_r, new_rC, new_R>::UntransformedRangeType&)> transformation, const std::string &name)¶ Creates a TransformedGridFunction applying the given transformation to the evaluations of function.