re-enable using rerun after the changes from PR #3052

This commit is contained in:
Axel Kohlmeyer
2022-01-14 20:25:00 -05:00
parent 698256f4fe
commit e271a54802

View File

@ -619,9 +619,8 @@ int Output::check_time_dumps(bigint ntimestep)
{
next_dump_any = MAXBIGINT;
for (int idump = 0; idump < ndump; idump++)
if (last_dump[idump] >= 0)
error->all(FLERR,
"Cannot reset timestep with active dump - must undump first");
if ((last_dump[idump] >= 0) && !update->whichflag)
error->all(FLERR, "Cannot reset timestep with active dump - must undump first");
if (restart_flag_single) {
if (restart_every_single) {