Skip to content

Commit

Permalink
Merge pull request seahorce-scidac#220 from hklion/add_amr_restart
Browse files Browse the repository at this point in the history
add option for amr namespace for restart params
  • Loading branch information
hklion authored Jul 6, 2024
2 parents f7c76ec + 9c4f6b4 commit 8295d93
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Source/REMORA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -679,12 +679,15 @@ REMORA::ReadParameters ()
}

ParmParse pp(pp_prefix);
ParmParse pp_amr("amr");
{
pp.query("regrid_int", regrid_int);
pp.query("check_file", check_file);
pp.query("check_int", check_int);
pp_amr.query("check_int", check_int);

pp.query("restart", restart_chkfile);
pp_amr.query("restart", restart_chkfile);
pp.query("start_time",start_time);

if (pp.contains("data_log"))
Expand Down

0 comments on commit 8295d93

Please sign in to comment.