Tsunami Project Lab
Loading...
Searching...
No Matches
tsunami_lab::io::NetCdf::Checkpoint Struct Reference

#include <NetCdf.h>

Collaboration diagram for tsunami_lab::io::NetCdf::Checkpoint:

Public Member Functions

t_idx nx () const
 interior cells in x
 
t_idx ny () const
 interior cells in y
 
t_real dxy () const
 cell size (m)
 

Public Attributes

Grid b
 bathymetry
 
Grid h
 water height
 
Grid hu
 x-momentum
 
Grid hv
 y-momentum
 
t_real simTime = 0
 simulation time of the checkpoint (s)
 
t_idx timeStep = 0
 time-step counter of the checkpoint
 
t_real dt = 0
 constant time step of the run (s)
 

Detailed Description

Full restart state recovered from a checkpoint file: the four fields at full resolution (each as a Grid so callers can reuse sampleNearest) plus the scalar metadata required to continue the time loop exactly where it left off.

Member Function Documentation

◆ dxy()

t_real tsunami_lab::io::NetCdf::Checkpoint::dxy ( ) const
inline

cell size (m)

◆ nx()

t_idx tsunami_lab::io::NetCdf::Checkpoint::nx ( ) const
inline

interior cells in x

◆ ny()

t_idx tsunami_lab::io::NetCdf::Checkpoint::ny ( ) const
inline

interior cells in y

Member Data Documentation

◆ b

Grid tsunami_lab::io::NetCdf::Checkpoint::b

bathymetry

◆ dt

t_real tsunami_lab::io::NetCdf::Checkpoint::dt = 0

constant time step of the run (s)

◆ h

Grid tsunami_lab::io::NetCdf::Checkpoint::h

water height

◆ hu

Grid tsunami_lab::io::NetCdf::Checkpoint::hu

x-momentum

◆ hv

Grid tsunami_lab::io::NetCdf::Checkpoint::hv

y-momentum

◆ simTime

t_real tsunami_lab::io::NetCdf::Checkpoint::simTime = 0

simulation time of the checkpoint (s)

◆ timeStep

t_idx tsunami_lab::io::NetCdf::Checkpoint::timeStep = 0

time-step counter of the checkpoint


The documentation for this struct was generated from the following file: