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 71 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(), GeometricField< Type, PatchField, GeoMesh >::timeIndex(), and tmp< T >::valid().
|
inline |
Access to time.
Definition at line 102 of file subCycle.H.
References IOobject::time(), TimeState::timeIndex(), GeometricField< Type, PatchField, GeoMesh >::timeIndex(), and subCycleField< GeometricField >::updateTimeIndex().
Referenced by subCycleFields< GeometricField >::time(), subCycleField< GeometricField >::~subCycleField(), and subCycleFields< GeometricField >::~subCycleFields().
|
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(), subCycleField< GeometricField >::time(), and subCycleFields< GeometricField >::time().