Public Types | |
typedef GeometricField | FieldsType |
Type of the field. More... | |
Public Member Functions | |
subCycleField (GeometricField &gf, const label nSubCycles) | |
Construct from field and number of sub-cycles. More... | |
~subCycleField () | |
Destructor. More... | |
const Time & | time () const |
Access to time. More... | |
void | updateTimeIndex () |
Correct the time index of the field to correspond to. More... | |
Definition at line 46 of file subCycle.H.
typedef GeometricField FieldsType |
Type of the field.
Definition at line 65 of file subCycle.H.
|
inline |
Construct from field and number of sub-cycles.
Definition at line 70 of file subCycle.H.
References IOobject::name(), and GeometricField< Type, PatchField, GeoMesh >::New().
|
inline |
Destructor.
Definition at line 87 of file subCycle.H.
References subCycleField< GeometricField >::time(), TimeState::timeIndex(), OldTimeField< FieldType >::timeIndex(), and tmp< T >::valid().
|
inline |
Access to time.
Definition at line 102 of file subCycle.H.
References IOobject::time().
Referenced by subCycleField< GeometricField >::~subCycleField().
|
inline |
Correct the time index of the field to correspond to.
the sub-cycling time.
The time index is incremented to protect the old-time value from being updated at the beginning of the time-loop in the case of outer iteration
Definition at line 113 of file subCycle.H.
Referenced by subCycle< GeometricField, SubCycleField >::subCycle().