Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
dorie
dorie
Commits
468d3704
Commit
468d3704
authored
Jun 13, 2018
by
Lukas Riedel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove warnings appearing only in Clang
parent
e0b04e76
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
3 deletions
+7
-3
dune/dorie/solver/operator_DG.hh
dune/dorie/solver/operator_DG.hh
+2
-2
dune/dorie/solver/param_base.hh
dune/dorie/solver/param_base.hh
+2
-0
dune/dorie/solver/util_boundary_condition.hh
dune/dorie/solver/util_boundary_condition.hh
+1
-1
dune/dorie/solver/util_interpolator.hh
dune/dorie/solver/util_interpolator.hh
+2
-0
No files found.
dune/dorie/solver/operator_DG.hh
View file @
468d3704
...
...
@@ -628,7 +628,7 @@ public:
else
relCond
=
relCond_n
;
}
else
if
(
upwinding
==
RichardsDGUpwinding
::
none
)
else
//
(upwinding == RichardsDGUpwinding::none)
{
// harmonic average of conductivity factors
relCond
=
2
*
relCond_s
*
relCond_n
/
(
relCond_s
+
relCond_n
);
...
...
@@ -719,7 +719,7 @@ public:
else
relCond
=
relCond_n
;
}
else
if
(
upwinding
==
RichardsDGUpwinding
::
none
)
else
//
(upwinding == RichardsDGUpwinding::none)
{
// harmonic average of conductivity factors
relCond
=
2
*
relCond_s
*
relCond_n
/
(
relCond_s
+
relCond_n
);
...
...
dune/dorie/solver/param_base.hh
View file @
468d3704
...
...
@@ -117,6 +117,8 @@ namespace Dune {
}
}
virtual
~
ParameterizationBase
()
=
default
;
/// Iterate through parameter array and read each one from the H5 file
void
read_parameters
()
{
...
...
dune/dorie/solver/util_boundary_condition.hh
View file @
468d3704
...
...
@@ -312,7 +312,7 @@ namespace Dorie{
unsigned
int
xGlobalIndex
;
if
(
bcSide
==
BC
::
North
||
bcSide
==
BC
::
South
)
xGlobalIndex
=
0
;
else
if
(
bcSide
==
BC
::
West
||
bcSide
==
BC
::
East
)
else
//
(bcSide == BC::West || bcSide == BC::East)
xGlobalIndex
=
1
;
// run along axis
...
...
dune/dorie/solver/util_interpolator.hh
View file @
468d3704
...
...
@@ -37,6 +37,8 @@ namespace Dune {
config
(
config_
),
helper
(
helper_
),
verbose
(
verbose_
),
eps
(
1e-9
),
initialized
(
false
),
method
(
method_
)
{}
virtual
~
InterpolatorBase
()
=
default
;
RF
evaluate
(
const
Array
&
field
,
const
Domain
&
pos
)
{
for
(
Index
i
=
0
;
i
<
dim
;
i
++
)
...
...
Write
Preview
Markdown
is supported
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