Commit edeea605 authored by Timo Koch's avatar Timo Koch
Browse files

[fix] Use sqrt in namespace std

parent 7f410833
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#ifndef DUMUX_NAPLINFILTRATION_SPATIAL_PARAMS_HH #ifndef DUMUX_NAPLINFILTRATION_SPATIAL_PARAMS_HH
#define DUMUX_NAPLINFILTRATION_SPATIAL_PARAMS_HH #define DUMUX_NAPLINFILTRATION_SPATIAL_PARAMS_HH
#include <cmath>
#include <dumux/material/spatialparams/implicit.hh> #include <dumux/material/spatialparams/implicit.hh>
#include <dumux/material/fluidmatrixinteractions/3p/regularizedparkervangen3p.hh> #include <dumux/material/fluidmatrixinteractions/3p/regularizedparkervangen3p.hh>
#include <dumux/material/fluidmatrixinteractions/3p/regularizedparkervangen3pparams.hh> #include <dumux/material/fluidmatrixinteractions/3p/regularizedparkervangen3pparams.hh>
...@@ -239,7 +240,7 @@ public: ...@@ -239,7 +240,7 @@ public:
// the heat conductivity of the matrix. in general this is a // the heat conductivity of the matrix. in general this is a
// tensorial value, but we assume isotropic heat conductivity. // 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 // the matrix heat flux is the negative temperature gradient
// times the heat conductivity. // times the heat conductivity.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment