Perform a subCycleTime on a field. More...
#include <OpenFOAM/subCycle.H>
Perform a subCycleTime on a field.
Definition at line 47 of file subCycle.H.
Public Member Functions | |
subCycle (GeometricField &gf, const label nSubCycles) | |
Construct field and number of sub-cycles. | |
~subCycle () | |
![]() | |
subCycleTime (Time &, const label nSubCycles) | |
Construct from original time and number of sub-cycles. | |
~subCycleTime () | |
bool | end () const |
Return true if the number of sub-cycles has been reached. | |
void | endSubCycle () |
End the sub-cycling and reset the time-state. | |
subCycleTime & | operator++ () |
Prefix increment. | |
subCycleTime & | operator++ (int) |
Postfix increment. |
|
inline |
Construct field and number of sub-cycles.
Definition at line 74 of file subCycle.H.
|
inline |
Definition at line 84 of file subCycle.H.
References subCycleTime::endSubCycle(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), IOobject::time(), TimeState::timeIndex(), and GeometricField< Type, PatchField, GeoMesh >::timeIndex().