13#ifndef DUMUX_FLUX_SHALLOW_WATER_FLUX_LIMITER_LET_HH
14#define DUMUX_FLUX_SHALLOW_WATER_FLUX_LIMITER_LET_HH
20namespace ShallowWater {
41 const Scalar valueRight,
49 const auto h = (valueLeft + valueRight)*0.5;
54 const auto sw = max(min(h*(1.0/upperH) - lowerH, 1.0), 0.0);
63 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:40
std::string mobility(int phaseIdx) noexcept
I/O name of mobility for multiphase systems.
Definition: name.hh:89