Public Member Functions | List of all members
subCycleField< GeometricField > Class Template Reference
Inheritance diagram for subCycleField< GeometricField >:
Inheritance graph
[legend]

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...
 

Detailed Description

template<class GeometricField>
class Foam::subCycleField< GeometricField >

Definition at line 46 of file subCycle.H.

Constructor & Destructor Documentation

subCycleField ( GeometricField gf)
inline

Construct field and number of sub-cycles.

Definition at line 67 of file subCycle.H.

~subCycleField ( )
inline

Destructor.

Definition at line 76 of file subCycle.H.

References IOobject::time(), TimeState::timeIndex(), GeometricField< Type, PatchField, GeoMesh >::timeIndex(), and subCycleField< GeometricField >::updateTimeIndex().

Here is the call graph for this function:

Member Function Documentation

void updateTimeIndex ( )
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(), and subCycleField< GeometricField >::~subCycleField().

Here is the caller graph for this function:


The documentation for this class was generated from the following file: