45 return controlNames_[timeControl_];
59 (timeControls::ocAlways == timeControl_)
60 || (timeControls::ocTimeStep == timeControl_ && intInterval_ <= 1)
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.
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.