#include <FWave.h>
◆ netUpdates()
Computes the net-updates for the left and right cell.
Decomposes the flux jump Δf into f-waves Z_p = α_p · r_p and assigns them to the left or right cell depending on the sign of the corresponding eigenvalue: A^- ΔQ = Σ_{p: λ_p < 0} Z_p (net-update for the left cell) A^+ ΔQ = Σ_{p: λ_p > 0} Z_p (net-update for the right cell)
- Parameters
-
| i_hL | height of the left side. |
| i_hR | height of the right side. |
| i_huL | momentum of the left side. |
| i_huR | momentum of the right side. |
| i_bmL | bathymetry of the left side. |
| i_bmR | bathymetry of the right side. |
| o_netUpdateL | will be set to the net-updates for the left side; 0: height, 1: momentum. |
| o_netUpdateR | will be set to the net-updates for the right side; 0: height, 1: momentum. |
Implements tsunami_lab::solvers::Solver.
◆ tsunami_lab::solvers::FWaveTestAccess
The documentation for this class was generated from the following files:
- /builds/na48gom/tsunami/src/solvers/FWave.h
- /builds/na48gom/tsunami/src/solvers/FWave.cpp