Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
~subLoopTime()
Destructor.
subLoopTime & operator++()
Prefix increment.
void stop()
Force terminate the loop.
label nCycles() const
The total number of cycles.
A class for managing sub-loops referencing Time.
label index_
The current sub-cycle index.
label index() const
The current cycle index.
bool status() const
Return true if looping is active.
label total_
The total number of cycles in the sub-cycle.
bool loop()
True if looping is active, increments the index.