Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux
Commits
2f4baba5
Commit
2f4baba5
authored
Jun 17, 2019
by
Dennis Gläser
Browse files
[integrate] add const qualifier to arguments
parent
be4b0b78
Changes
1
Hide whitespace changes
Inline
Side-by-side
dumux/common/integrate.hh
View file @
2f4baba5
...
...
@@ -103,7 +103,7 @@ using FieldType = typename FieldTypeImpl<T>::type;
template
<
class
GridGeometry
,
class
SolutionVector
,
typename
std
::
enable_if_t
<!
Impl
::
hasLocalFunction
<
SolutionVector
>(),
int
>
=
0
>
auto
integrateGridFunction
(
const
GridGeometry
&
gg
,
SolutionVector
&
&
sol
,
const
SolutionVector
&
sol
,
std
::
size_t
order
)
{
using
GridView
=
typename
GridGeometry
::
GridView
;
...
...
@@ -177,7 +177,7 @@ auto integrateL2Error(const GridGeometry& gg,
template
<
class
GridView
,
class
F
,
typename
std
::
enable_if_t
<
Impl
::
hasLocalFunction
<
F
>(),
int
>
=
0
>
auto
integrateGridFunction
(
const
GridView
&
gv
,
F
&
&
f
,
const
F
&
f
,
std
::
size_t
order
)
{
auto
fLocal
=
localFunction
(
f
);
...
...
@@ -217,8 +217,8 @@ auto integrateGridFunction(const GridView& gv,
template
<
class
GridView
,
class
F
,
class
G
,
typename
std
::
enable_if_t
<
Impl
::
hasLocalFunction
<
F
>(),
int
>
=
0
>
auto
integrateL2Error
(
const
GridView
&
gv
,
F
&
&
f
,
G
&
&
g
,
const
F
&
f
,
const
G
&
g
,
std
::
size_t
order
)
{
auto
fLocal
=
localFunction
(
f
);
...
...
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