Loading...
Searching...
No Matches
subCycleField< GeometricField > Class Template Reference

#include <subCycle.H>

Inheritance diagram for subCycleField< GeometricField >:

Public Member Functions

 subCycleField (GeometricField &gf)
 Construct field and number of sub-cycles.
 ~subCycleField ()
 Destructor.
void updateTimeIndex ()
 Correct the time index of the field to correspond to.

Detailed Description

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

Definition at line 42 of file subCycle.H.

Constructor & Destructor Documentation

◆ subCycleField()

template<class GeometricField>
subCycleField ( GeometricField & gf)
inline

Construct field and number of sub-cycles.

Definition at line 79 of file subCycle.H.

References GeometricField< Type, PatchField, GeoMesh >::New(), and oldTime().

Referenced by subCycle< GeometricField >::subCycle().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~subCycleField()

template<class GeometricField>
~subCycleField ( )
inline

Destructor.

Definition at line 95 of file subCycle.H.

Member Function Documentation

◆ updateTimeIndex()

template<class GeometricField>
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 119 of file subCycle.H.

Referenced by subCycle< GeometricField >::subCycle().

Here is the caller graph for this function:

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