Module restore
The restore function restores the dynamical state and the statistics of a previous run from a snapshot file.
Functions
restore (params, st) | Restore the dynamical state and the statistics of a previous run from a snapshot file. |
Functions
- restore (params, st)
-
Restore the dynamical state and the statistics of a previous run
from a snapshot file.
Parameters:
- params parameter table as loaded from "params.lua"
- st statistics object to be initialized; if not given, none will be initialized.
Returns:
- time step at which the snapshot was restored
- state of the system from the snapshot