Go to the documentation of this file.
48 template<
class GeometricField>
74 gf_0_(gf0_.
name() +
"_", gf0_)
108 template<
class GeometricField>
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Info<< "Creating field kinetic energy K\n"<< endl;volScalarField K("K", 0.5 *magSqr(U));if(U.nOldTimes()){ volVectorField *Uold=&U.oldTime();volScalarField *Kold=&K.oldTime();*Kold==0.5 *magSqr(*Uold);while(Uold->nOldTimes()) { Uold=&Uold-> oldTime()
subCycle(GeometricField &gf, const label nCycles)
Construct field and number of sub-cycles.
A class for managing sub-cycling times.
void endSubCycle()
End the sub-cycling and reset the time-state.
word name(const complex &c)
Return string representation of complex.
subCycleField(GeometricField &gf)
Construct field and number of sub-cycles.
label timeIndex() const
Return the time index of the field.
void updateTimeIndex()
Correct the time index of the field to correspond to.
~subCycleField()
Destructor.
Generic GeometricField class.
Perform a subCycleTime on a field.