Class to store the ddt0 fields on the objectRegistry for use in the. More...
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_ |
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 from file for restart.
Definition at line 46 of file CrankNicolsonDdtScheme.C.
References Time::startTimeIndex(), fvMesh::time(), and timeIndex.
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.
label startTimeIndex |
Return the start-time index.
Definition at line 78 of file CrankNicolsonDdtScheme.C.
Referenced by CrankNicolsonDdtScheme< Type >::coef0_(), and CrankNicolsonDdtScheme< Type >::coef_().
GeoField & operator() |
Cast to the underlying GeoField.
Definition at line 87 of file CrankNicolsonDdtScheme.C.
void operator= | ( | const GeoField & | gf | ) |
Assignment to a GeoField.
Definition at line 96 of file CrankNicolsonDdtScheme.C.
|
private |
Definition at line 108 of file CrankNicolsonDdtScheme.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.