Skip to content
Snippets Groups Projects
Commit 47ee067e authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

add generator function for AnalyticGridFunction

parent c0ba03c3
Branches
No related tags found
No related merge requests found
......@@ -136,6 +136,12 @@ auto analyticGridFunction (FF&& ff)
return AnalyticGridFunction<Grid, F>{std::forward<FF>(ff)};
}
template <class FF, class Grid>
auto analyticGridFunction (FF&& ff, Grid const& /*grid*/)
{
using F = std::decay_t<FF>;
return AnalyticGridFunction<Grid, F>{std::forward<FF>(ff)};
}
template <class GridType, class Functor>
class AnalyticGridFunction
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment