45 return controlNames_[timeControl_];
73 return executionIndex_;
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
scalar interval() const
Return interval.
const Time & time() const
Return the Time.
timeControls control() const
Return the control enumeration.
timeControls
The time control options.
@ ocAlways
Always execute.
@ ocTimeStep
Execution coupled to time-step (default).
label executionIndex() const
Return the index of the previous execution.
const word & name() const
Return the name (prefix).
bool always() const
Return true if the control will always execute - ie, no intervention.
const word & type() const
Return the named control enumeration as its 'type'.
A class for handling words, derived from Foam::string.