Commit 07c9d910 authored by Martin Utz's avatar Martin Utz
Browse files

[swe][flux] Make the LET parameter changeable.

parent ac781f2c
......@@ -83,10 +83,12 @@ std::array<Scalar,3> riemannProblem(const Scalar waterDepthLeft,
const Scalar waterDepthRightReconstructed = max(0.0, waterDepthRight - dzr);
// compute the mobility of the flux with the fluxlimiter
static const Scalar upperWaterDepthFluxLimiting = getParam<Scalar>("FluxLimiterLET.UpperWaterDepth", 1e-3);
static const Scalar lowerWaterDepthFluxLimiting = getParam<Scalar>("FluxLimiterLET.LowerWaterDepth", 1e-5);
const Scalar mobility = ShallowWater::fluxLimiterLET(waterDepthLeftReconstructed,
waterDepthRightReconstructed,
0.001,
0.00001);
upperWaterDepthFluxLimiting,
lowerWaterDepthFluxLimiting);
// make rotation of the flux we compute an 1d flux
Scalar tempFlux = velocityXLeft;
......
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