Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dumux-repositories
dumux
Commits
2f4baba5
Commit
2f4baba5
authored
5 years ago
by
Dennis Gläser
Browse files
Options
Downloads
Patches
Plain Diff
[integrate] add const qualifier to arguments
parent
be4b0b78
No related branches found
No related tags found
1 merge request
!1636
Feature/l2 norm
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dumux/common/integrate.hh
+4
-4
4 additions, 4 deletions
dumux/common/integrate.hh
with
4 additions
and
4 deletions
dumux/common/integrate.hh
+
4
−
4
View file @
2f4baba5
...
@@ -103,7 +103,7 @@ using FieldType = typename FieldTypeImpl<T>::type;
...
@@ -103,7 +103,7 @@ using FieldType = typename FieldTypeImpl<T>::type;
template
<
class
GridGeometry
,
class
SolutionVector
,
template
<
class
GridGeometry
,
class
SolutionVector
,
typename
std
::
enable_if_t
<!
Impl
::
hasLocalFunction
<
SolutionVector
>(),
int
>
=
0
>
typename
std
::
enable_if_t
<!
Impl
::
hasLocalFunction
<
SolutionVector
>(),
int
>
=
0
>
auto
integrateGridFunction
(
const
GridGeometry
&
gg
,
auto
integrateGridFunction
(
const
GridGeometry
&
gg
,
SolutionVector
&
&
sol
,
const
SolutionVector
&
sol
,
std
::
size_t
order
)
std
::
size_t
order
)
{
{
using
GridView
=
typename
GridGeometry
::
GridView
;
using
GridView
=
typename
GridGeometry
::
GridView
;
...
@@ -177,7 +177,7 @@ auto integrateL2Error(const GridGeometry& gg,
...
@@ -177,7 +177,7 @@ auto integrateL2Error(const GridGeometry& gg,
template
<
class
GridView
,
class
F
,
template
<
class
GridView
,
class
F
,
typename
std
::
enable_if_t
<
Impl
::
hasLocalFunction
<
F
>(),
int
>
=
0
>
typename
std
::
enable_if_t
<
Impl
::
hasLocalFunction
<
F
>(),
int
>
=
0
>
auto
integrateGridFunction
(
const
GridView
&
gv
,
auto
integrateGridFunction
(
const
GridView
&
gv
,
F
&
&
f
,
const
F
&
f
,
std
::
size_t
order
)
std
::
size_t
order
)
{
{
auto
fLocal
=
localFunction
(
f
);
auto
fLocal
=
localFunction
(
f
);
...
@@ -217,8 +217,8 @@ auto integrateGridFunction(const GridView& gv,
...
@@ -217,8 +217,8 @@ auto integrateGridFunction(const GridView& gv,
template
<
class
GridView
,
class
F
,
class
G
,
template
<
class
GridView
,
class
F
,
class
G
,
typename
std
::
enable_if_t
<
Impl
::
hasLocalFunction
<
F
>(),
int
>
=
0
>
typename
std
::
enable_if_t
<
Impl
::
hasLocalFunction
<
F
>(),
int
>
=
0
>
auto
integrateL2Error
(
const
GridView
&
gv
,
auto
integrateL2Error
(
const
GridView
&
gv
,
F
&
&
f
,
const
F
&
f
,
G
&
&
g
,
const
G
&
g
,
std
::
size_t
order
)
std
::
size_t
order
)
{
{
auto
fLocal
=
localFunction
(
f
);
auto
fLocal
=
localFunction
(
f
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment