OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

convectionScheme< Type > Class Template Reference

Abstract base class for convection schemes. More...

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

List of all members.


Public Member Functions

virtual const wordtype () const =0
 Runtime type information.
 declareRunTimeSelectionTable (tmp, convectionScheme, Istream,(const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &schemeData),(mesh, faceFlux, schemeData))
 declareRunTimeSelectionTable (tmp, convectionScheme, Multivariate,(const fvMesh &mesh, const typename multivariateSurfaceInterpolationScheme< Type >::fieldTable &fields, const surfaceScalarField &faceFlux, Istream &schemeData),(mesh, fields, faceFlux, schemeData))
 convectionScheme (const convectionScheme &)
 Copy construct.
 convectionScheme (const fvMesh &mesh, const surfaceScalarField &)
 Construct from mesh, flux and Istream.
virtual ~convectionScheme ()
const fvMeshmesh () const
 Return mesh reference.
virtual tmp< GeometricField
< Type, fvsPatchField,
surfaceMesh > > 
interpolate (const surfaceScalarField &, const GeometricField< Type, fvPatchField, volMesh > &) const =0
virtual tmp< GeometricField
< Type, fvsPatchField,
surfaceMesh > > 
flux (const surfaceScalarField &, const GeometricField< Type, fvPatchField, volMesh > &) const =0
virtual tmp< fvMatrix< Type > > fvmDiv (const surfaceScalarField &, GeometricField< Type, fvPatchField, volMesh > &) const =0
virtual tmp< GeometricField
< Type, fvPatchField, volMesh > > 
fvcDiv (const surfaceScalarField &, const GeometricField< Type, fvPatchField, volMesh > &) const =0
void operator= (const convectionScheme< Type > &)

Static Public Member Functions

static tmp< convectionScheme
< Type > > 
New (const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &schemeData)
 Return a pointer to a new convectionScheme created on freestore.
static tmp< convectionScheme
< Type > > 
New (const fvMesh &mesh, const typename multivariateSurfaceInterpolationScheme< Type >::fieldTable &fields, const surfaceScalarField &faceFlux, Istream &schemeData)
 Return a pointer to a new multivariate convectionScheme.

Detailed Description

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

Abstract base class for convection schemes.

Source files

Definition at line 60 of file convectionScheme.H.


Constructor & Destructor Documentation

convectionScheme ( const convectionScheme< Type > &  cs  )  [inline]

Copy construct.

Definition at line 40 of file convectionScheme.C.

convectionScheme ( const fvMesh mesh,
const surfaceScalarField  
) [inline]

Construct from mesh, flux and Istream.

Definition at line 113 of file convectionScheme.H.

~convectionScheme (  )  [inline, virtual]

Definition at line 162 of file convectionScheme.C.


Member Function Documentation

virtual const word& type (  )  const [pure virtual]

Runtime type information.

declareRunTimeSelectionTable ( tmp  ,
convectionScheme< Type ,
Istream  ,
(const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &schemeData)  ,
(mesh, faceFlux, schemeData)   
)

declareRunTimeSelectionTable ( tmp  ,
convectionScheme< Type ,
Multivariate  ,
(const fvMesh &mesh, const typename multivariateSurfaceInterpolationScheme< Type >::fieldTable &fields, const surfaceScalarField &faceFlux, Istream &schemeData)  ,
(mesh, fields, faceFlux, schemeData)   
)

tmp< convectionScheme< Type > > New ( const fvMesh mesh,
const surfaceScalarField faceFlux,
Istream schemeData 
) [inline, static]

Return a pointer to a new convectionScheme created on freestore.

Definition at line 51 of file convectionScheme.C.

tmp< convectionScheme< Type > > New ( const fvMesh mesh,
const typename multivariateSurfaceInterpolationScheme< Type >::fieldTable &  fields,
const surfaceScalarField faceFlux,
Istream schemeData 
) [inline, static]

Return a pointer to a new multivariate convectionScheme.

created on freestore

Definition at line 102 of file convectionScheme.C.

const fvMesh& mesh (  )  const [inline]

Return mesh reference.

Definition at line 155 of file convectionScheme.H.

virtual tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > interpolate ( const surfaceScalarField ,
const GeometricField< Type, fvPatchField, volMesh > &   
) const [pure virtual]

virtual tmp<fvMatrix<Type> > fvmDiv ( const surfaceScalarField ,
GeometricField< Type, fvPatchField, volMesh > &   
) const [pure virtual]

void operator= ( const convectionScheme< Type > &  cs  )  [inline]

Definition at line 169 of file convectionScheme.C.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd