37 #ifndef subCycleTime_H 38 #define subCycleTime_H 80 inline label
index()
const
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.
label index() const
Return the current sub-cycle index.
label nSubCycles() const
Return the total number of sub-cycles.
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.