must use addstep_compute() on next variable dump output

This commit is contained in:
Axel Kohlmeyer
2025-03-27 23:50:37 -04:00
parent c9be07df9c
commit 963083b2d5

View File

@ -402,6 +402,7 @@ void Output::write(bigint ntimestep)
next_dump_any = MIN(next_dump_any,next_dump[idump]);
}
}
modify->addstep_compute(next_dump_any);
// next_restart does not force output on last step of run
// for toggle = 0, replace "*" with current timestep in restart filename