RivinHD / Tsunami-Simulation

https://rivinhd.github.io/Tsunami-Simulation/
Other
0 stars 1 forks source link

Fixing the note from submission 7. Checkpointing and Coarse Output #67

Closed RivinHD closed 7 months ago

RivinHD commented 10 months ago

"The writer for a checkpoint must be extended by the following variables: commandLine, writeCount and hMax."


"The first step is to read the checkpoint netCdf file with the required variables to start the simulation. For this purpose, an array with variables and an array with the same size for the read data are created. Both definitions of variables and data can be found in CheckPoint.h."


        l_setup = new tsunami_lab::setups::TsunamiEvent2d( "resources/artificialtsunami_bathymetry_1000.nc",
                                                           variables,
                                                           "resources/artificialtsunami_displ_1000.nc",
                                                           variables,
                                                           l_scaleX,
                                                           l_scaleY );