Skip to content
Snippets Groups Projects
Commit a11d2817 authored by Yue Wang's avatar Yue Wang Committed by Timo Koch
Browse files

[params] change type of LowerWaterDepth to Scalar

parent cdcb6253
No related branches found
No related tags found
1 merge request!2771Make same parameter use the same c++ type in the code base (if possible)
......@@ -218,8 +218,8 @@ public:
const auto vViscousFlux = turbViscosity * averageDepth * gradV;
// compute the mobility of the flux with the fluxlimiter
static const auto upperWaterDepthFluxLimiting = getParamFromGroup<double>(problem.paramGroup(), "FluxLimiterLET.UpperWaterDepth", 1e-3);
static const auto lowerWaterDepthFluxLimiting = getParamFromGroup<double>(problem.paramGroup(), "FluxLimiterLET.LowerWaterDepth", 1e-5);
static const auto upperWaterDepthFluxLimiting = getParamFromGroup<Scalar>(problem.paramGroup(), "FluxLimiterLET.UpperWaterDepth", 1e-3);
static const auto lowerWaterDepthFluxLimiting = getParamFromGroup<Scalar>(problem.paramGroup(), "FluxLimiterLET.LowerWaterDepth", 1e-5);
const auto limitingDepth = (waterDepthLeft + waterDepthRight) * 0.5;
const auto mobility = ShallowWater::fluxLimiterLET(limitingDepth,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment