diff --git a/dumux/material/components/mesitylene.hh b/dumux/material/components/mesitylene.hh index c956509c5f0ed2633626ff2d73c8f2fc1ebe5530..a0ded2783dc67bdc713d2ff685714d02537eaa20 100644 --- a/dumux/material/components/mesitylene.hh +++ b/dumux/material/components/mesitylene.hh @@ -124,7 +124,7 @@ public: // fit over a certain temperature range. This suggests choosing an interval of integration being in the actual fit range. // I.e. choosing T=273.15K as reference point for liquid enthalpy. - constexpr Scalar sqrt1over3 = std::sqrt(1./3.); + const Scalar sqrt1over3 = std::sqrt(1./3.); const Scalar TEval1 = 0.5*(temperature-273.15)* sqrt1over3 + 0.5*(273.15+temperature) ; // evaluation points according to Gauss-Legendre integration const Scalar TEval2 = 0.5*(temperature-273.15)* (-1)* sqrt1over3 + 0.5*(273.15+temperature) ; // evaluation points according to Gauss-Legendre integration diff --git a/dumux/material/components/xylene.hh b/dumux/material/components/xylene.hh index 05ffd93d51a7449c8b1ea59564b3c96019db17a3..9d644727ada0a9ac25891b5bc393c56f2d2c3ada 100644 --- a/dumux/material/components/xylene.hh +++ b/dumux/material/components/xylene.hh @@ -167,7 +167,7 @@ public: // fit over a certain temperature range. This suggests choosing an interval of integration being in the actual fit range. // I.e. choosing T=273.15K as reference point for liquid enthalpy. - constexpr Scalar sqrt1over3 = std::sqrt(1./3.); + const Scalar sqrt1over3 = std::sqrt(1./3.); const Scalar TEval1 = 0.5*(temperature-273.15)* sqrt1over3 + 0.5*(273.15+temperature) ; // evaluation points according to Gauss-Legendre integration const Scalar TEval2 = 0.5*(temperature-273.15)* (-1)* sqrt1over3 + 0.5*(273.15+temperature) ; // evaluation points according to Gauss-Legendre integration diff --git a/test/boxmodels/2p2c/injectionspatialparams.hh b/test/boxmodels/2p2c/injectionspatialparams.hh index dbab1803dd6e0c9bf6e045503d36fa46a3db647b..82e602b14639484725d5b7df6520f1dadaf9190e 100644 --- a/test/boxmodels/2p2c/injectionspatialparams.hh +++ b/test/boxmodels/2p2c/injectionspatialparams.hh @@ -31,7 +31,7 @@ #include <dumux/material/fluidmatrixinteractions/2p/regularizedbrookscorey.hh> #include <dumux/material/fluidmatrixinteractions/2p/efftoabslaw.hh> -//#include <dumux/boxmodels/2p2c/2p2cmodel.hh> +#include <dumux/boxmodels/2p2c/2p2cproperties.hh> namespace Dumux {