45 return controlNames_[timeControl_];
59 (timeControls::ocAlways == timeControl_)
60 || (timeControls::ocTimeStep == timeControl_ && intInterval_ <= 1)
73 return executionIndex_;
timeControls control() const
Return the control enumeration.
label executionIndex() const
Return the index of the previous execution.
timeControls
The time control options.
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)
scalar interval() const
Return interval.
const word & type() const
Return the named control enumeration as its 'type'.