#include <TsunamiEvent2d.h>
◆ TsunamiEvent2d()
| tsunami_lab::setups::TsunamiEvent2d::TsunamiEvent2d |
( |
std::string | i_bathyPath, |
|
|
std::string | i_displPath ) |
Constructor — loads the two input files. Either may use the (y, x) or (x, y) layout for the data variable; io::NetCdf::read normalises both into canonical (y, x).
- Parameters
-
| i_bathyPath | path to the bathymetry netCDF file. |
| i_displPath | path to the displacement netCDF file. |
- Author
- Moritz Arnhold, Moritz Martin
DESCRIPTION
Two-dimensional tsunami event setup driven by netCDF input (assignment 5.2 task 3).
◆ domainLengthX()
| t_real tsunami_lab::setups::TsunamiEvent2d::domainLengthX |
( |
| ) |
const |
|
inline |
Length of the bathymetry file's x-extent — i.e. the maximum x-coordinate the simulation can query (sim coords run from 0 to this value).
◆ domainLengthY()
| t_real tsunami_lab::setups::TsunamiEvent2d::domainLengthY |
( |
| ) |
const |
|
inline |
Length of the bathymetry file's y-extent.
◆ getBathymetry()
Bathymetry per spec: pool floor offset by the wet/dry tolerance plus the earthquake displacement.
Implements tsunami_lab::setups::Setup.
◆ getHeight()
◆ getMomentumX()
◆ getMomentumY()
The documentation for this class was generated from the following files: