must set Output::next_dump_any to current step with rerun

This commit is contained in:
Axel Kohlmeyer
2022-05-20 09:27:16 -04:00
parent 7eb926c853
commit 2c5ce83d59

View File

@ -165,6 +165,7 @@ void Rerun::command(int narg, char **arg)
modify->init();
update->integrate->setup_minimal(1);
modify->end_of_step();
output->next_dump_any = ntimestep;
if (firstflag) output->setup();
else if (output->next) output->write(ntimestep);