Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
1 merge request!1810Resolve "[shallowwater] Make the borders of the LET limiting changeable"
......@@ -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;
......
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