Handle Restarts
The restart hook tries to detect starts/restarts of simulation cases by looking for wrap-around in sequence numbers.
Implementation
The source code of the hook is available here: https://github.com/VILLASframework/node/blob/master/lib/hooks/restart.cpp
Configuration
The restart hook is a built-in hook. It is active by default and does not require any further options.
| enabled | boolean Default: true An optional field which can be used to disable a hook. |
| priority | integer Default: 99 The priority of this hook which determines the order in which hooks are executed. Hooks with a lwoer priority are executed before ones with a higher priority. If no priority is configured, hooks are executed in the order they are configured in the configuration file. |
{- "enabled": true,
- "priority": 99
}