Skip to content

Commit

Permalink
checkpoint bathymetry
Browse files Browse the repository at this point in the history
  • Loading branch information
hklion committed Jul 13, 2024
1 parent be31f7b commit cabdd0d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/IO/Checkpoint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,8 @@ REMORA::WriteCheckpointFile () const

VisMF::Write(*(vec_zeta[lev]), amrex::MultiFabFileFullPrefix(lev, checkpointname, "Level_", "zeta"));
VisMF::Write(*(vec_Zt_avg1[lev]), amrex::MultiFabFileFullPrefix(lev, checkpointname, "Level_", "Zt_avg1"));

VisMF::Write(*(vec_hOfTheConfusingName[lev]), amrex::MultiFabFileFullPrefix(lev, checkpointname, "Level_", "h"));
}

#ifdef REMORA_USE_PARTICLES
Expand Down Expand Up @@ -432,6 +434,8 @@ REMORA::ReadCheckpointFile ()
VisMF::Read(*(vec_zeta[lev]), amrex::MultiFabFileFullPrefix(lev, restart_chkfile, "Level_", "zeta"));
VisMF::Read(*(vec_Zt_avg1[lev]), amrex::MultiFabFileFullPrefix(lev, restart_chkfile, "Level_", "Zt_avg1"));

VisMF::Read(*(vec_hOfTheConfusingName[lev]), amrex::MultiFabFileFullPrefix(lev, restart_chkfile, "Level_", "h"));

stretch_transform(lev);
}

Expand Down

0 comments on commit cabdd0d

Please sign in to comment.