Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
iwr
dune-curvedgrid
Commits
47ee067e
Commit
47ee067e
authored
Sep 17, 2020
by
Praetorius, Simon
Browse files
add generator function for AnalyticGridFunction
parent
c0ba03c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
dune/curvedsurfacegrid/gridfunctions/analyticgridfunction.hh
View file @
47ee067e
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment