106 label executionIndex_;
166 inline bool always()
const;
Execution coupled to write-time.
static bool entriesPresent(const dictionary &dict, const word &prefix)
Identify if a timeControl object is present in the dictionary.
Execution coupled to time-step (default)
void clear()
Reset control to 'always' - ie, no intervention.
void read(const dictionary &dict)
Read from dictionary.
timeControls control() const
Return the control enumeration.
label executionIndex() const
Return the index of the previous execution.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
timeControls
The time control options.
bool execute()
Flag to indicate whether to execute.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
const Time & time() const
Return the Time.
A class for handling words, derived from Foam::string.
bool always() const
Return true if the control will always execute - ie, no intervention.
const word & name() const
Return the name (prefix)
~timeControl()=default
Destructor.
Use CPU time for execution.
scalar interval() const
Return interval.
Use clock time for execution.
Currently identical to "runTime".
const word & type() const
Return the named control enumeration as its 'type'.
Use run-time for execution.
General time dependent execution controller. The execution parameters are given by the "Control" and ...