Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ddtScheme< Type > Class Template Referenceabstract

Abstract base class for ddt schemes. More...

Inheritance diagram for ddtScheme< Type >:
Inheritance graph
[legend]
Collaboration diagram for ddtScheme< Type >:
Collaboration graph
[legend]

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...
 
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< 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
 
tmp< surfaceScalarFieldfvcDdtPhiCoeff (const GeometricField< Type, fvPatchField, volMesh > &U, const fluxFieldType &phi, const fluxFieldType &phiCorr)
 
tmp< surfaceScalarFieldfvcDdtPhiCoeff (const GeometricField< Type, fvPatchField, volMesh > &U, const fluxFieldType &phi)
 
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
 
- Public Member Functions inherited from refCount
 refCount ()
 Construct null with zero count. More...
 
int count () const
 Return the reference count. More...
 
bool okToDelete () const
 Return true if the reference count is zero. More...
 
void resetRefCount ()
 Reset the reference count to 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 Member Functions

 ddtScheme (const ddtScheme &)
 Disallow copy construct. More...
 
void operator= (const ddtScheme &)
 Disallow default bitwise assignment. More...
 

Protected Attributes

const fvMeshmesh_
 

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

Definition at line 198 of file ddtScheme.H.

Constructor & Destructor Documentation

ddtScheme ( const ddtScheme< Type > &  )
protected

Disallow copy construct.

ddtScheme ( const fvMesh mesh)
inline

Construct from mesh.

Definition at line 106 of file ddtScheme.H.

ddtScheme ( const fvMesh mesh,
Istream  
)
inline

Construct from mesh and Istream.

Definition at line 112 of file ddtScheme.H.

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

Here is the call graph for this function:

~ddtScheme ( )
virtual

Destructor.

Definition at line 94 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

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

Disallow default bitwise assignment.

virtual const word& type ( ) const
pure virtual

Runtime type information.

declareRunTimeSelectionTable ( tmp  ,
ddtScheme< Type >  ,
Istream  ,
(const fvMesh &mesh, Istream &schemeData)  ,
(mesh, schemeData)   
)
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, FatalIOErrorIn, Foam::Info, 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:

const fvMesh& mesh ( ) const
inline
virtual tmp<GeometricField<Type, fvPatchField, volMesh> > fvcDdt ( const dimensioned< Type > &  )
pure virtual
virtual tmp<GeometricField<Type, fvPatchField, volMesh> > fvcDdt ( const GeometricField< Type, fvPatchField, volMesh > &  )
pure virtual
virtual tmp<GeometricField<Type, fvPatchField, volMesh> > fvcDdt ( const dimensionedScalar ,
const GeometricField< Type, fvPatchField, volMesh > &   
)
pure virtual
virtual tmp<GeometricField<Type, fvPatchField, volMesh> > fvcDdt ( const volScalarField ,
const GeometricField< Type, fvPatchField, volMesh > &   
)
pure virtual
tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDdt ( const volScalarField alpha,
const volScalarField rho,
const GeometricField< Type, fvPatchField, volMesh > &  vf 
)
pure virtual
virtual tmp<fvMatrix<Type> > fvmDdt ( const GeometricField< Type, fvPatchField, volMesh > &  )
pure virtual
virtual tmp<fvMatrix<Type> > fvmDdt ( const dimensionedScalar ,
const GeometricField< Type, fvPatchField, volMesh > &   
)
pure virtual
virtual tmp<fvMatrix<Type> > fvmDdt ( const volScalarField ,
const GeometricField< Type, fvPatchField, volMesh > &   
)
pure virtual
tmp< fvMatrix< Type > > fvmDdt ( const volScalarField alpha,
const volScalarField rho,
const GeometricField< Type, fvPatchField, volMesh > &  vf 
)
pure virtual
tmp< surfaceScalarField > fvcDdtPhiCoeff ( const GeometricField< Type, fvPatchField, volMesh > &  U,
const fluxFieldType phi,
const fluxFieldType phiCorr 
)
tmp< surfaceScalarField > fvcDdtPhiCoeff ( const GeometricField< Type, fvPatchField, volMesh > &  U,
const fluxFieldType phi 
)

Definition at line 184 of file ddtScheme.C.

References Foam::fvc::interpolate(), and mesh.

Here is the call graph for this function:

virtual tmp<fluxFieldType> fvcDdtUfCorr ( const GeometricField< Type, fvPatchField, volMesh > &  U,
const GeometricField< Type, fvsPatchField, surfaceMesh > &  Uf 
)
pure virtual
virtual tmp<fluxFieldType> fvcDdtPhiCorr ( const GeometricField< Type, fvPatchField, volMesh > &  U,
const fluxFieldType phi 
)
pure virtual
virtual tmp<fluxFieldType> fvcDdtUfCorr ( const volScalarField rho,
const GeometricField< Type, fvPatchField, volMesh > &  U,
const GeometricField< Type, fvsPatchField, surfaceMesh > &  Uf 
)
pure virtual
virtual tmp<fluxFieldType> fvcDdtPhiCorr ( const volScalarField rho,
const GeometricField< Type, fvPatchField, volMesh > &  U,
const fluxFieldType phi 
)
pure virtual
virtual tmp<surfaceScalarField> meshPhi ( const GeometricField< Type, fvPatchField, volMesh > &  )
pure virtual

Member Data Documentation

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: