From 989b8d5882d5427c429350737a2df52218d052aa Mon Sep 17 00:00:00 2001 From: Kilian Weishaupt <kilian.weishaupt@iws.uni-stuttgart.de> Date: Thu, 5 Jul 2018 10:52:06 +0200 Subject: [PATCH] [kepsilon][problem] Use std::abs and std::log --- dumux/freeflow/rans/twoeq/kepsilon/problem.hh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dumux/freeflow/rans/twoeq/kepsilon/problem.hh b/dumux/freeflow/rans/twoeq/kepsilon/problem.hh index 65e5a3b9c9..57c3cb7240 100644 --- a/dumux/freeflow/rans/twoeq/kepsilon/problem.hh +++ b/dumux/freeflow/rans/twoeq/kepsilon/problem.hh @@ -325,6 +325,7 @@ public: const SubControlVolumeFace& scvf, const SubControlVolumeFace& localSubFace) const { + using std::abs; unsigned int elementID = asImp_().fvGridGeometry().elementMapper().index(element); return FacePrimaryVariables(asImp_().tangentialMomentumWallFunction(elementID, abs(elemFaceVars[scvf].velocitySelf())) * elemVolVars[scvf.insideScvIdx()].density()); @@ -380,6 +381,7 @@ public: const ElementFaceVariables& elemFaceVars, const SubControlVolumeFace& scvf) const { + using std::log; auto wallFunctionFlux = CellCenterPrimaryVariables(0.0); unsigned int elementID = asImp_().fvGridGeometry().elementMapper().index(element); @@ -414,6 +416,7 @@ public: const ElementFaceVariables& elemFaceVars, const SubControlVolumeFace& scvf) const { + using std::log; auto wallFunctionFlux = CellCenterPrimaryVariables(0.0); unsigned int elementID = asImp_().fvGridGeometry().elementMapper().index(element); // energy fluxes -- GitLab