FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

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 word &  type () 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 fvMesh &  mesh () 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< 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)
virtual tmp< fluxFieldType >  fvcDdtPhiCorr (const volScalarField &rA, const GeometricField< Type, fvPatchField, volMesh > &U, const fluxFieldType &phi)=0
tmp< surfaceScalarField >  fvcDdtPhiCoeff (const volScalarField &rho, const GeometricField< Type, fvPatchField, volMesh > &rhoU, const fluxFieldType &phi)
virtual tmp< fluxFieldType >  fvcDdtPhiCorr (const volScalarField &rA, const volScalarField &rho, const GeometricField< Type, fvPatchField, volMesh > &U, const fluxFieldType &phi)=0
virtual tmp< surfaceScalarField >  meshPhi (const GeometricField< Type, fvPatchField, volMesh > &)=0

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 fvMesh &  mesh_

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:
  • src/finiteVolume/finiteVolume/ddtSchemes/ddtScheme/ddtScheme.H
  • src/finiteVolume/finiteVolume/ddtSchemes/ddtScheme/ddtScheme.C