32 Foam::subLoopTime::subLoopTime(
Time&
runTime,
const label nCycles)
52 return (index_ < total_);
65 const bool active = (index_ < total_);
A class for managing sub-loops referencing Time.
bool status() const
Return true if looping is active.
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.
bool loop()
True if looping is active, increments the index.