FreeFOAM The Cross-Platform CFD Toolkit
ddtScheme< Type > Class Template Reference

Abstract base class for ddt schemes. More...

#include <finiteVolume/ddtScheme.H>


Detailed Description

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

Abstract base class for ddt schemes.

Source files

Definition at line 65 of file ddtScheme.H.

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

List of all members.

Public Types

typedef GeometricField
< typename flux< Type >::type,
fvsPatchField, surfaceMesh
fluxFieldType

Public Member Functions

virtual const wordtype () const =0
 Runtime type information.
 declareRunTimeSelectionTable (tmp, ddtScheme, Istream,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData))
 ddtScheme (const fvMesh &mesh)
 Construct from mesh.
 ddtScheme (const fvMesh &mesh, Istream &)
 Construct from mesh and Istream.
virtual ~ddtScheme ()
const fvMeshmesh () const
 Return mesh reference.
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< fvMatrix< Type > > fvmDdt (GeometricField< Type, fvPatchField, volMesh > &)=0
virtual tmp< fvMatrix< Type > > fvmDdt (const dimensionedScalar &, GeometricField< Type, fvPatchField, volMesh > &)=0
virtual tmp< fvMatrix< Type > > fvmDdt (const volScalarField &, GeometricField< Type, fvPatchField, volMesh > &)=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< fluxFieldTypefvcDdtPhiCorr (const volScalarField &rA, const GeometricField< Type, fvPatchField, volMesh > &U, const fluxFieldType &phi)=0
tmp< surfaceScalarFieldfvcDdtPhiCoeff (const volScalarField &rho, const GeometricField< Type, fvPatchField, volMesh > &rhoU, const fluxFieldType &phi)
virtual tmp< fluxFieldTypefvcDdtPhiCorr (const volScalarField &rA, 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.
int count () const
 Return the reference count.
bool okToDelete () const
 Return true if the reference count is zero.
void resetRefCount ()
 Reset the reference count to zero.
void operator++ ()
 Increment the reference count.
void operator++ (int)
 Increment the reference count.
void operator-- ()
 Decrement the reference count.
void operator-- (int)
 Decrement the reference count.

Static Public Member Functions

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

Protected Member Functions

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

Protected Attributes

const fvMeshmesh_

Member Typedef Documentation


Constructor & Destructor Documentation

ddtScheme ( const ddtScheme< Type > &  )
protected

Disallow copy construct.

ddtScheme ( const fvMesh mesh)
inline

Construct from mesh.

Definition at line 107 of file ddtScheme.H.

ddtScheme ( const fvMesh mesh,
Istream  
)
inline

Construct from mesh and Istream.

Definition at line 113 of file ddtScheme.H.

~ddtScheme ( )
virtual

Definition at line 92 of file ddtScheme.C.


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 44 of file ddtScheme.C.

References Foam::endl(), IOstream::eof(), Foam::exit(), Foam::FatalIOError, FatalIOErrorIn, Foam::Info, and mesh.


Member Data Documentation

const fvMesh& mesh_
protected

Definition at line 74 of file ddtScheme.H.

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


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