109 mutable label executionIndex_;
A HashTable with keys but without contents.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
General time dependent execution controller. The default to execute every time-step.
const Time & time() const
Return Time.
timeControls control() const
Return control.
timeControls
The time control options.
@ adjustableRunTime
Execute/write every 'Interval' run time period.
@ runTime
Execute/write every 'Interval' run time period.
@ clockTime
Execute/write every 'Interval' CPU time period.
@ cpuTime
Execute/write every 'Interval' CPU time period.
@ runTimes
Execute/write at specified list of run times.
@ writeTime
Execute/write every 'Interval' write times.
@ timeStep
Execute/write every 'Interval' time-steps.
@ outputTime
Execute/write every 'Interval' write times.
void read(const dictionary &)
Read from dictionary.
~timeControl()
Destructor.
bool active() const
Returns true the time is within the start to end period.
scalar timeToNextAction()
Return the time to the next write.
bool execute()
Flag to indicate whether to execute.
void operator=(const timeControl &)=delete
Disallow default bitwise assignment.
timeControl(const Time &, const dictionary &, const word &prefix)
Construct from Time object and dictionary.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.