is_restart()
Determine whether the simulation job is a restart after a snapshot.
Synopsis
is_restart()
Description
This predicate returns true if the current FRED job is a restart of a previous FRED job.
Returns
Returns \(1\) (true
) if the current job is a restart of a
snapshot job.
Otherwise, this returns \(0\) (false
).
Examples
if (is_snapshot()) then policy = new_policy