58 return (index_ <= total_);
64 return (index_ > total_);
83 const bool active = status();
106 time_.subCycleIndex(index_);
bool end() const
Return true if the number of sub-cycles has been reached.
~subCycleTime()
Destructor.
subCycleTime(Time &runTime, const label nCycle)
Construct referencing the original time and number of sub-cycles.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
virtual TimeState subCycle(const label nSubCycles)
Set time to sub-cycle for the given number of steps.
bool loop()
True if looping is active, increments the index.
void endSubCycle()
End the sub-cycling and reset the time-state.
A class for managing sub-cycling times.
bool status() const
True if the sub-cycle is active.
subCycleTime & operator++()
Prefix increment.