Go to the documentation of this file.
46 template<
class GeometricField>
106 template<
class GeometricField>
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for managing sub-cycling times.
GeometricField gf_0_
Copy of the "real" old-time value of the field.
GeometricField & gf_
Reference to the field being sub-cycled.
GeometricField & gf0_
Reference to the field old-time field being sub-cycled.
void operator=(const subCycle< GeometricField > &)
Disallow default bitwise assignment.
label nSubCycles() const
Return the total number of sub-cycles.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
subCycle(GeometricField &gf, const label nSubCycles)
Construct field and number of sub-cycles.
void endSubCycle()
End the sub-cycling and reset the time-state.
subCycleField(GeometricField &gf)
Construct field and number of sub-cycles.
label timeIndex() const
Return the time index of the field.
subCycle(const subCycle< GeometricField > &)
Disallow default bitwise copy construct.
void updateTimeIndex()
Correct the time index of the field to correspond to.
~subCycleField()
Destructor.
Generic GeometricField class.
word name(const complex &)
Return a string representation of a complex.
Perform a subCycleTime on a field.