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