DefineRestart
save restart files
The write-out of restart files is defined by
RestartStepSize.
Example 1:
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
n is the number/index of the restart file.
Example 2 (default):
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
Example 3 (switch off):
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.