Checkpoint numbering when restarting
Currently, if a simulation is restarted from a previous checkpoint file, checkpoint files are written with indices starting from zero. This would potentially overwrite existing checkpoint files.
It would be useful to continue numbering from the checkpoint index used for restarting.