33 nSubCycles_(nSubCycles),
55 return subCycleIndex_ > nSubCycles_;
bool end() const
Return true if the number of sub-cycles has been reached.
~subCycleTime()
Destructor.
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.
void endSubCycle()
End the sub-cycling and reset the time-state.
subCycleTime(Time &, const label nSubCycles)
Construct from original time and number of sub-cycles.
virtual void endSubCycle()
Reset time after sub-cycling back to previous TimeState.
A class for managing sub-cycling times.
subCycleTime & operator++()
Prefix increment.