Public Types | |
| typedef UPtrList< GeometricField > | FieldsType |
| Type of the list of fields. More... | |
Public Member Functions | |
| subCycleFields (UPtrList< GeometricField > &gfs, const label nSubCycles) | |
| Construct from field list and number of sub-cycles. More... | |
| ~subCycleFields () | |
| Destructor. More... | |
| const Time & | time () const |
| Access to time. More... | |
| void | updateTimeIndex () |
| Correct the time index of the fields to correspond to. More... | |
Definition at line 126 of file subCycle.H.
| typedef UPtrList<GeometricField> FieldsType |
Type of the list of fields.
Definition at line 145 of file subCycle.H.
|
inline |
Construct from field list and number of sub-cycles.
Definition at line 150 of file subCycle.H.
References forAll, Foam::name(), PtrList< T >::set(), UPtrList< T >::set(), PtrList< T >::setSize(), and UPtrList< T >::size().

|
inline |
Destructor.
Definition at line 182 of file subCycle.H.
References forAll, UPtrList< T >::size(), subCycleFields< GeometricField >::time(), and TimeState::timeIndex().

|
inline |
Access to time.
Definition at line 200 of file subCycle.H.
Referenced by subCycleFields< GeometricField >::~subCycleFields().

|
inline |
Correct the time index of the fields 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 211 of file subCycle.H.