Public Member Functions | Private Attributes
CrankNicolsonDdtScheme< Type >::DDt0Field< GeoField > Class Template Reference

Class to store the ddt0 fields on the objectRegistry for use in the. More...

Inheritance diagram for CrankNicolsonDdtScheme< Type >::DDt0Field< GeoField >:
Inheritance graph
[legend]
Collaboration diagram for CrankNicolsonDdtScheme< Type >::DDt0Field< GeoField >:
Collaboration graph
[legend]

Public Member Functions

 DDt0Field (const IOobject &io, const fvMesh &mesh)
 Constructor from file for restart. More...
 
 DDt0Field (const IOobject &io, const fvMesh &mesh, const dimensioned< typename GeoField::value_type > &dimType)
 Constructor from components, initisalised to zero with given. More...
 
label startTimeIndex () const
 Return the start-time index. More...
 
GeoField & operator() ()
 Cast to the underlying GeoField. More...
 
void operator= (const GeoField &gf)
 Assignment to a GeoField. More...
 

Private Attributes

label startTimeIndex_
 

Detailed Description

template<class Type>
template<class GeoField>
class Foam::fv::CrankNicolsonDdtScheme< Type >::DDt0Field< GeoField >

Class to store the ddt0 fields on the objectRegistry for use in the.

next time-step. The start-time index of the CN scheme is also stored to help handle the transition from Euler to CN

Definition at line 104 of file CrankNicolsonDdtScheme.H.

Constructor & Destructor Documentation

◆ DDt0Field() [1/2]

DDt0Field ( const IOobject io,
const fvMesh mesh 
)

Constructor from file for restart.

Definition at line 46 of file CrankNicolsonDdtScheme.C.

References Time::startTimeIndex(), fvMesh::time(), and timeIndex.

Here is the call graph for this function:

◆ DDt0Field() [2/2]

DDt0Field ( const IOobject io,
const fvMesh mesh,
const dimensioned< typename GeoField::value_type > &  dimType 
)

Constructor from components, initisalised to zero with given.

dimensions.

Definition at line 64 of file CrankNicolsonDdtScheme.C.

Member Function Documentation

◆ startTimeIndex()

label startTimeIndex

Return the start-time index.

Definition at line 78 of file CrankNicolsonDdtScheme.C.

Referenced by CrankNicolsonDdtScheme< Type >::coef0_(), and CrankNicolsonDdtScheme< Type >::coef_().

Here is the caller graph for this function:

◆ operator()()

GeoField & operator()

Cast to the underlying GeoField.

Definition at line 87 of file CrankNicolsonDdtScheme.C.

◆ operator=()

void operator= ( const GeoField &  gf)

Assignment to a GeoField.

Definition at line 96 of file CrankNicolsonDdtScheme.C.

Field Documentation

◆ startTimeIndex_

label startTimeIndex_
private

Definition at line 108 of file CrankNicolsonDdtScheme.H.


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