25#ifndef DUMUX_FLUX_SHALLOW_WATER_FLUX_LIMITER_LET_HH
26#define DUMUX_FLUX_SHALLOW_WATER_FLUX_LIMITER_LET_HH
32namespace ShallowWater {
53 const Scalar valueRight,
61 const auto h = (valueLeft + valueRight)*0.5;
66 const auto sw = max(min(h*(1.0/upperH) - lowerH, 1.0), 0.0);
75 mobility = (sw*sw)/(sw*sw + (1-sw)*(1-sw));
static Scalar fluxLimiterLET(const Scalar valueLeft, const Scalar valueRight, const Scalar upperH, const Scalar lowerH)
Flux limiter function to scale fluxes for small water depths.
Definition: fluxlimiterlet.hh:52
std::string mobility(int phaseIdx) noexcept
I/O name of mobility for multiphase systems.
Definition: name.hh:101