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-lecture
Commits
edeea605
Commit
edeea605
authored
Mar 03, 2016
by
Timo Koch
Browse files
[fix] Use sqrt in namespace std
parent
7f410833
Changes
1
Show whitespace changes
Inline
Side-by-side
lecture/mm/naplinfiltration/spatialparams.hh
View file @
edeea605
...
...
@@ -24,6 +24,7 @@
#ifndef DUMUX_NAPLINFILTRATION_SPATIAL_PARAMS_HH
#define DUMUX_NAPLINFILTRATION_SPATIAL_PARAMS_HH
#include
<cmath>
#include
<dumux/material/spatialparams/implicit.hh>
#include
<dumux/material/fluidmatrixinteractions/3p/regularizedparkervangen3p.hh>
#include
<dumux/material/fluidmatrixinteractions/3p/regularizedparkervangen3pparams.hh>
...
...
@@ -239,7 +240,7 @@ public:
// the heat conductivity of the matrix. in general this is a
// tensorial value, but we assume isotropic heat conductivity.
Scalar
heatCond
=
ldry
+
sqrt
(
sw
)
*
(
lSw1
-
ldry
)
+
sqrt
(
sn
)
*
(
lSn1
-
ldry
);
Scalar
heatCond
=
ldry
+
std
::
sqrt
(
sw
)
*
(
lSw1
-
ldry
)
+
std
::
sqrt
(
sn
)
*
(
lSn1
-
ldry
);
// the matrix heat flux is the negative temperature gradient
// times the heat conductivity.
...
...
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