35 #ifndef subCycleTime_H
36 #define subCycleTime_H
87 return subCycleIndex_;
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for managing sub-cycling times.
~subCycleTime()
Destructor.
label index() const
Return the current sub-cycle index.
label nSubCycles() const
Return the total number of sub-cycles.
subCycleTime & operator++()
Prefix increment.
subCycleTime(Time &, const label nSubCycles)
Construct from original time and number of sub-cycles.
void endSubCycle()
End the sub-cycling and reset the time-state.
bool end() const
Return true if the number of sub-cycles has been reached.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.