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