#include <CheckPoint.h>
◆ CheckPoint()
| tsunami_lab::setups::CheckPoint::CheckPoint |
( |
std::string | i_path | ) |
|
Constructor — loads the checkpoint file.
- Parameters
-
| i_path | path to the checkpoint netCDF file. |
- Author
- Moritz Arnhold, Moritz Martin
DESCRIPTION
Restart setup driven by a netCDF checkpoint (assignment 7.1 task 2).
◆ domainLengthX()
| t_real tsunami_lab::setups::CheckPoint::domainLengthX |
( |
| ) |
const |
|
inline |
domain length in x-direction (nx * dxy)
◆ domainLengthY()
| t_real tsunami_lab::setups::CheckPoint::domainLengthY |
( |
| ) |
const |
|
inline |
domain length in y-direction (ny * dxy)
◆ dt()
| t_real tsunami_lab::setups::CheckPoint::dt |
( |
| ) |
const |
|
inline |
constant time step of the interrupted run (seconds)
◆ dxy()
| t_real tsunami_lab::setups::CheckPoint::dxy |
( |
| ) |
const |
|
inline |
uniform cell size recovered from the checkpoint (m)
◆ getBathymetry()
◆ getHeight()
◆ getMomentumX()
◆ getMomentumY()
◆ nx()
| t_idx tsunami_lab::setups::CheckPoint::nx |
( |
| ) |
const |
|
inline |
number of interior cells in x-direction
◆ ny()
| t_idx tsunami_lab::setups::CheckPoint::ny |
( |
| ) |
const |
|
inline |
number of interior cells in y-direction
◆ simTime()
| t_real tsunami_lab::setups::CheckPoint::simTime |
( |
| ) |
const |
|
inline |
simulation time stored in the checkpoint (seconds)
◆ timeStep()
| t_idx tsunami_lab::setups::CheckPoint::timeStep |
( |
| ) |
const |
|
inline |
time-step counter stored in the checkpoint
The documentation for this class was generated from the following files: