|
template<class Scalar > |
RiemannSolution< Scalar > | exactRiemann (const Scalar dl, const Scalar dr, const Scalar ul, const Scalar ur, const Scalar vl, const Scalar vr, const Scalar grav, const Scalar s=0.0) |
| Exact Riemann solver for Shallow water equations. More...
|
|
template<class Scalar > |
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. More...
|
|
template<class Scalar , class GlobalPosition > |
std::array< Scalar, 3 > | riemannProblem (const Scalar waterDepthLeft, const Scalar waterDepthRight, Scalar velocityXLeft, Scalar velocityXRight, Scalar velocityYLeft, Scalar velocityYRight, const Scalar bedSurfaceLeft, const Scalar bedSurfaceRight, const Scalar gravity, const GlobalPosition &nxy) |
| Construct Riemann Problem and solve it. More...
|
|
template<class Scalar , class GlobalPosition > |
std::array< Scalar, 3 > | fixedWaterDepthBoundary (const Scalar waterDepthBoundary, const Scalar waterDepthInside, const Scalar velocityXInside, const Scalar velocityYInside, const Scalar gravity, const GlobalPosition &nxy) |
| Compute the outer cell state for fixed water depth boundary. More...
|
|
template<class Scalar , class GlobalPosition > |
std::array< Scalar, 3 > | fixedDischargeBoundary (const Scalar dischargeBoundary, const Scalar waterDepthInside, const Scalar velocityXInside, const Scalar velocityYInside, const Scalar gravity, const GlobalPosition &nxy) |
| Compute the outer cell state for a fixed discharge boundary. More...
|
|