Commit 641ded71 authored by Timo Koch's avatar Timo Koch
Browse files

Merge branch 'shallowwater-make-the-borders-of-the-let-limiting-changeable' into 'master'

Resolve "[shallowwater] Make the borders of the LET limiting changeable"

Closes #790

See merge request !1810
parents ac781f2c 07c9d910
......@@ -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,
// 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