ddtScheme< Type > Class Template Referenceabstract

Abstract base class for ddt schemes. More...

Inheritance diagram for ddtScheme< Type >:
Collaboration diagram for ddtScheme< Type >:

Public Types

typedef GeometricField< typename flux< Type >::type, fvsPatchField, surfaceMeshfluxFieldType
 

Public Member Functions

virtual const wordtype () const =0
 Runtime type information. More...
 
 declareRunTimeSelectionTable (tmp, ddtScheme, Istream,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData))
 
 ddtScheme (const fvMesh &mesh)
 Construct from mesh. More...
 
 ddtScheme (const fvMesh &mesh, Istream &)
 Construct from mesh and Istream. More...
 
 ddtScheme (const ddtScheme &)
 Disallow default bitwise copy construction. More...
 
virtual ~ddtScheme ()
 Destructor. More...
 
const fvMeshmesh () const
 Return mesh reference. More...
 
virtual tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDdt (const dimensioned< Type > &)=0
 
virtual tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDdt (const GeometricField< Type, fvPatchField, volMesh > &)=0
 
virtual tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDdt (const dimensionedScalar &, const GeometricField< Type, fvPatchField, volMesh > &)=0
 
virtual tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDdt (const volScalarField &, const GeometricField< Type, fvPatchField, volMesh > &)=0
 
virtual tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDdt (const volScalarField &alpha, const volScalarField &rho, const GeometricField< Type, fvPatchField, volMesh > &)=0
 
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > fvcDdt (const GeometricField< Type, fvsPatchField, surfaceMesh > &)
 
virtual tmp< fvMatrix< Type > > fvmDdt (const GeometricField< Type, fvPatchField, volMesh > &)=0
 
virtual tmp< fvMatrix< Type > > fvmDdt (const dimensionedScalar &, const GeometricField< Type, fvPatchField, volMesh > &)=0
 
virtual tmp< fvMatrix< Type > > fvmDdt (const volScalarField &, const GeometricField< Type, fvPatchField, volMesh > &)=0
 
virtual tmp< fvMatrix< Type > > fvmDdt (const volScalarField &alpha, const volScalarField &rho, const GeometricField< Type, fvPatchField, volMesh > &vf)=0
 
virtual tmp< surfaceScalarFieldfvcDdtPhiCoeff (const GeometricField< Type, fvPatchField, volMesh > &U, const fluxFieldType &phi, const fluxFieldType &phiCorr)
 
virtual tmp< surfaceScalarFieldfvcDdtPhiCoeff (const GeometricField< Type, fvPatchField, volMesh > &U, const fluxFieldType &phi, const fluxFieldType &phiCorr, const volScalarField &rho)
 
virtual tmp< surfaceScalarFieldfvcDdtPhiCoeff (const GeometricField< Type, fvPatchField, volMesh > &U, const fluxFieldType &phi)
 
virtual tmp< surfaceScalarFieldfvcDdtPhiCoeff (const GeometricField< Type, fvPatchField, volMesh > &U, const fluxFieldType &phi, const volScalarField &rho)
 
virtual tmp< fluxFieldTypefvcDdtUfCorr (const GeometricField< Type, fvPatchField, volMesh > &U, const GeometricField< Type, fvsPatchField, surfaceMesh > &Uf)=0
 
virtual tmp< fluxFieldTypefvcDdtPhiCorr (const GeometricField< Type, fvPatchField, volMesh > &U, const fluxFieldType &phi)=0
 
virtual tmp< fluxFieldTypefvcDdtUfCorr (const volScalarField &rho, const GeometricField< Type, fvPatchField, volMesh > &U, const GeometricField< Type, fvsPatchField, surfaceMesh > &Uf)=0
 
virtual tmp< fluxFieldTypefvcDdtPhiCorr (const volScalarField &rho, const GeometricField< Type, fvPatchField, volMesh > &U, const fluxFieldType &phi)=0
 
virtual tmp< surfaceScalarFieldmeshPhi (const GeometricField< Type, fvPatchField, volMesh > &)=0
 
void operator= (const ddtScheme &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from refCount
int count () const
 Return the current reference count. More...
 
bool unique () const
 Return true if the reference count is zero. More...
 
void operator++ ()
 Increment the reference count. More...
 
void operator++ (int)
 Increment the reference count. More...
 
void operator-- ()
 Decrement the reference count. More...
 
void operator-- (int)
 Decrement the reference count. More...
 

Static Public Member Functions

static tmp< ddtScheme< Type > > New (const fvMesh &mesh, Istream &schemeData)
 Return a pointer to a new ddtScheme created on freestore. More...
 

Protected Attributes

const fvMeshmesh_
 

Additional Inherited Members

- Protected Member Functions inherited from refCount
 refCount ()
 Construct null initializing count to 0. More...
 

Detailed Description

template<class Type>
class Foam::fv::ddtScheme< Type >

Abstract base class for ddt schemes.

Source files

Definition at line 64 of file ddtScheme.H.

Member Typedef Documentation

◆ fluxFieldType

Definition at line 197 of file ddtScheme.H.

Constructor & Destructor Documentation

◆ ddtScheme() [1/3]

ddtScheme ( const fvMesh mesh)
inline

Construct from mesh.

Definition at line 97 of file ddtScheme.H.

Referenced by ddtScheme< Type >::ddtScheme().

Here is the caller graph for this function:

◆ ddtScheme() [2/3]

ddtScheme ( const fvMesh mesh,
Istream  
)
inline

Construct from mesh and Istream.

Definition at line 103 of file ddtScheme.H.

References ddtScheme< Type >::ddtScheme(), ddtScheme< Type >::New(), and ddtScheme< Type >::~ddtScheme().

Here is the call graph for this function:

◆ ddtScheme() [3/3]

ddtScheme ( const ddtScheme< Type > &  )

Disallow default bitwise copy construction.

◆ ~ddtScheme()

~ddtScheme ( )
virtual

Destructor.

Definition at line 90 of file ddtScheme.C.

References ddtScheme< Type >::fvcDdt().

Referenced by ddtScheme< Type >::ddtScheme().

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

Member Function Documentation

◆ type()

virtual const word& type ( ) const
pure virtual

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( tmp  ,
ddtScheme< Type >  ,
Istream  ,
(const fvMesh &mesh, Istream &schemeData)  ,
(mesh, schemeData)   
)

◆ New()

tmp< ddtScheme< Type > > New ( const fvMesh mesh,
Istream schemeData 
)
static

Return a pointer to a new ddtScheme created on freestore.

Definition at line 46 of file ddtScheme.C.

References Foam::endl(), IOstream::eof(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, InfoInFunction, mesh, and Foam::nl.

Referenced by Foam::fvc::ddt(), Foam::fvm::ddt(), Foam::fvc::ddtCorr(), and ddtScheme< Type >::ddtScheme().

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

◆ mesh()

const fvMesh& mesh ( ) const
inline

◆ fvcDdt() [1/6]

◆ fvcDdt() [2/6]

◆ fvcDdt() [3/6]

◆ fvcDdt() [4/6]

◆ fvcDdt() [5/6]

◆ fvcDdt() [6/6]

tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > fvcDdt ( const GeometricField< Type, fvsPatchField, surfaceMesh > &  sf)
virtual

Reimplemented in localEulerDdtScheme< Type >, and EulerDdtScheme< Type >.

Definition at line 137 of file ddtScheme.C.

References ddtScheme< Type >::fvcDdtPhiCoeff(), NotImplemented, and GeometricField< Type, PatchField, GeoMesh >::null().

Here is the call graph for this function:

◆ fvmDdt() [1/4]

◆ fvmDdt() [2/4]

◆ fvmDdt() [3/4]

◆ fvmDdt() [4/4]

◆ fvcDdtPhiCoeff() [1/4]

◆ fvcDdtPhiCoeff() [2/4]

tmp< surfaceScalarField > fvcDdtPhiCoeff ( const GeometricField< Type, fvPatchField, volMesh > &  U,
const fluxFieldType phi,
const fluxFieldType phiCorr,
const volScalarField rho 
)
virtual

Definition at line 211 of file ddtScheme.C.

References ddtScheme< Type >::fvcDdtPhiCoeff().

Here is the call graph for this function:

◆ fvcDdtPhiCoeff() [3/4]

tmp< surfaceScalarField > fvcDdtPhiCoeff ( const GeometricField< Type, fvPatchField, volMesh > &  U,
const fluxFieldType phi 
)
virtual

Definition at line 224 of file ddtScheme.C.

References Foam::fvc::dotInterpolate(), ddtScheme< Type >::fvcDdtPhiCoeff(), mesh, and Sf().

Here is the call graph for this function:

◆ fvcDdtPhiCoeff() [4/4]

tmp< surfaceScalarField > fvcDdtPhiCoeff ( const GeometricField< Type, fvPatchField, volMesh > &  U,
const fluxFieldType phi,
const volScalarField rho 
)
virtual

Definition at line 235 of file ddtScheme.C.

References Foam::fvc::dotInterpolate(), mesh, and Sf().

Here is the call graph for this function:

◆ fvcDdtUfCorr() [1/2]

◆ fvcDdtPhiCorr() [1/2]

◆ fvcDdtUfCorr() [2/2]

◆ fvcDdtPhiCorr() [2/2]

◆ meshPhi()

◆ operator=()

void operator= ( const ddtScheme< Type > &  )
delete

Disallow default bitwise assignment.

Member Data Documentation

◆ mesh_

const fvMesh& mesh_
protected

Definition at line 73 of file ddtScheme.H.

Referenced by ddtScheme< Type >::mesh().


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