|
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 the 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 a 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...
|
|
template<class PrimaryVariables , class Scalar , class GlobalPosition > |
std::array< Scalar, 3 > | noslipWallBoundary (const Scalar alphaWall, const Scalar turbulentViscosity, const PrimaryVariables &state, const GlobalPosition &cellCenterToBoundaryFaceCenter, const GlobalPosition &unitNormal) |
| Compute the viscosity/diffusive flux at a rough wall boundary using no-slip formulation. More...
|
|
template<class PrimaryVariables , class Scalar , class GlobalPosition > |
std::array< Scalar, 3 > | nikuradseWallBoundary (const Scalar ksWall, const PrimaryVariables &state, const GlobalPosition &cellCenterToBoundaryFaceCenter, const GlobalPosition &unitNormal) |
| Compute the viscosity/diffusive flux at a rough wall boundary using Nikuradse formulation. More...
|
|