|
Tsunami Project Lab
|
Namespaces | |
| namespace | io |
| namespace | patches |
| namespace | setups |
| namespace | solvers |
Typedefs | |
| typedef std::size_t | t_idx |
| integral type for cell-ids, pointer arithmetic, etc. | |
| typedef float | t_real |
| floating point type | |
Variables | |
| t_real constexpr | g = 9.80665 |
| gravity constant (9.80665 m/s^2) | |
| t_real constexpr | gSqrt = 3.131557121 |
| square root of gravity | |
Constants / typedefs used throughout the code.
IO-routines for writing a snapshot as Comma Separated Values (CSV).
Base class of the wave propagation patches.
One-dimensional wave propagation patch.
One-dimensional dam break problem.
Declaration of the Rare-Rare Scenario in 1d
Declaration of the reservoir-village scenario
Simulation setup.
Declaration of the Shock-Shock scenario in 1d.
F-wave Riemann solver for the one-dimensional shallow water equations.
Unlike the Roe solver, the f-wave solver decomposes the jump in fluxes (Δf = f(q_r) - f(q_l)) rather than the jump in quantities. The resulting waves Z_p = α_p · r_p are used directly as net-updates without additional scaling by the wave speeds.
Unit tests for the f-wave Riemann solver.
Tests cover:
Roe Riemann solver for the one-dimensional shallow water equations.
Base class for generic usage of solvers
| typedef std::size_t tsunami_lab::t_idx |
integral type for cell-ids, pointer arithmetic, etc.
| typedef float tsunami_lab::t_real |
floating point type
|
constexpr |
gravity constant (9.80665 m/s^2)
|
constexpr |
square root of gravity