Commit 47ee067e authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

add generator function for AnalyticGridFunction

parent c0ba03c3
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment