Public Member Functions | |
subCycleField (GeometricField &gf) | |
Construct field and number of sub-cycles. More... | |
~subCycleField () | |
Destructor. More... | |
void | updateTimeIndex () |
Correct the time index of the field to correspond to. More... | |
Private Attributes | |
GeometricField & | gf_ |
Reference to the field being sub-cycled. More... | |
GeometricField & | gf0_ |
Reference to the field old-time field being sub-cycled. More... | |
GeometricField | gf_0_ |
Copy of the "real" old-time value of the field. More... | |
Definition at line 46 of file subCycle.H.
|
inline |
Construct field and number of sub-cycles.
Definition at line 67 of file subCycle.H.
|
inline |
Destructor.
Definition at line 76 of file subCycle.H.
References subCycleField< GeometricField >::gf0_, subCycleField< GeometricField >::gf_, subCycleField< GeometricField >::gf_0_, and GeometricField::timeIndex().
|
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 93 of file subCycle.H.
Referenced by subCycle< GeometricField >::subCycle().
|
private |
Reference to the field being sub-cycled.
Definition at line 51 of file subCycle.H.
Referenced by subCycleField< GeometricField >::~subCycleField().
|
private |
Reference to the field old-time field being sub-cycled.
Needed to avoid calls to oldTime() which may cause unexpected updates of the old-time field
Definition at line 56 of file subCycle.H.
Referenced by subCycleField< GeometricField >::~subCycleField().
|
private |
Copy of the "real" old-time value of the field.
Definition at line 59 of file subCycle.H.
Referenced by subCycleField< GeometricField >::~subCycleField().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.