DefineRestart

save restart files

The write-out of restart files is defined by RestartStepSize. Example 1:
restart = (0) RestartStepSize = ( 100, %RESTART_sequence% )
Write a restart file every 100 time cycles. The restart files are numbered from 1 until N. All files are kept on disc. This consumes memory, but a restart is possible from any restart file. To invoke the restart, just set
restart = (n)
n is the number/index of the restart file. Example 2 (default):
restart = (0) RestartStepSize = ( 100, %RESTART_single% )
Write a restart file every 100 time cycles. Every new restart file overwrites the existing old one. This saves memory, but there is a risk. A restart file can be corrupt or the computer crashes during the write operation of the restart file. In order to invoke the restart, just set
restart = (1)
Example 3 (switch off):
restart = (0) RestartStepSize = ( 0, %RESTART_single% )
For n=0, no restart files are written. Note: Restart files can also be triggered by an EVENT, see %EVENT_WriteRestart%, or by the signal save in the SIGNAL-file, see SequentialReadingOfSignalFile. See also checkpoint for an alternative automatic restart functionality.