At the beginning of every time step CO5BOLD checks in the working directory
whether the file rhd.dump
exists.
If it has been generated (e.g. with touch rhd.dump
)
and the file rhd.snap
does not exist, the current model is written
into rhd.snap
. It has the same file properties (format and conversion)
as the regular rhd.end
file.
The run of the simulation itself is not modified. This feature
might be useful for debugging purposes.
If a run was successful i.e. it was completed because one of the
regular termination conditions was fulfilled (e.g. the requested number
of time steps was performed) the exit status file rhd.done
is produced.
Currently, it contains the date and time of its generation.
The existence of this file can be checked within a script to determine
if the simulation was successful (and should be continued).
Note: the existence of an rhd.end
file
only indicates that CO5BOLD managed to exit gracefully - due to an error or
in a regular way.