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
87375ad8
Commit
87375ad8
authored
May 03, 2018
by
Timo Koch
Browse files
[cleanup] Remove const on return type in return by value functions
parent
161ccaff
Changes
3
Hide whitespace changes
Inline
Side-by-side
dumux/discretization/staggered/elementfacevariables.hh
View file @
87375ad8
...
...
@@ -169,7 +169,7 @@ public:
private:
const
int
getLocalIdx_
(
const
int
scvfIdx
)
const
int
getLocalIdx_
(
const
int
scvfIdx
)
const
{
auto
it
=
std
::
find
(
faceVarIndices_
.
begin
(),
faceVarIndices_
.
end
(),
scvfIdx
);
assert
(
it
!=
faceVarIndices_
.
end
()
&&
"Could not find the current face variables for scvfIdx!"
);
...
...
dumux/discretization/staggered/elementvolumevariables.hh
View file @
87375ad8
...
...
@@ -253,7 +253,7 @@ public:
private:
const
GridVolumeVariables
*
gridVolVarsPtr_
;
const
int
getLocalIdx_
(
const
int
volVarIdx
)
const
int
getLocalIdx_
(
const
int
volVarIdx
)
const
{
auto
it
=
std
::
find
(
volVarIndices_
.
begin
(),
volVarIndices_
.
end
(),
volVarIdx
);
assert
(
it
!=
volVarIndices_
.
end
()
&&
"Could not find the current volume variables for volVarIdx!"
);
...
...
dumux/io/vtkoutputmodule.hh
View file @
87375ad8
...
...
@@ -241,9 +241,9 @@ protected:
const
GridVariables
&
gridVariables
()
const
{
return
gridVariables_
;
}
const
SolutionVector
&
sol
()
const
{
return
sol_
;
}
const
bool
verbose
()
const
{
return
verbose_
;
}
bool
verbose
()
const
{
return
verbose_
;
}
const
std
::
string
&
name
()
const
{
return
name_
;
}
const
Dune
::
VTK
::
DataMode
dataMode
()
const
{
return
dm_
;
}
Dune
::
VTK
::
DataMode
dataMode
()
const
{
return
dm_
;
}
Dune
::
VTKWriter
<
GridView
>&
writer
()
{
return
*
writer_
;
}
Dune
::
VTKSequenceWriter
<
GridView
>&
sequenceWriter
()
{
return
sequenceWriter_
;
}
...
...
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