ukaea/ReMKiT1D

Add option to reset value of the time variable on loading from restart files

SMijin opened this issue · 1 comments

The default behaviour of keeping the value of all variables from a restart file is too restrictive. In particular we sometimes need to restart from a simulation that has reached its time target. In those cases the time target needs to be moved, otherwise the restarted run would terminate on initialization upon detecting that the current time (loaded from the restart file) already satisfies the termination condition.

To mitigate this, an option to reset the time value on restart should be added.

Added in #9