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

laplacianScheme< Type, GType > Class Template Reference

Abstract base class for laplacian schemes. More...

Inheritance diagram for laplacianScheme< Type, GType >:
Collaboration diagram for laplacianScheme< Type, GType >:

List of all members.


Public Member Functions

virtual const wordtype () const =0
 Runtime type information.
 declareRunTimeSelectionTable (tmp, laplacianScheme, Istream,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData))
 laplacianScheme (const fvMesh &mesh)
 Construct from mesh.
 laplacianScheme (const fvMesh &mesh, Istream &is)
 Construct from mesh and Istream.
 laplacianScheme (const fvMesh &mesh, const tmp< surfaceInterpolationScheme< GType > > &igs, const tmp< snGradScheme< Type > > &sngs)
 Construct from mesh, interpolation and snGradScheme schemes.
virtual ~laplacianScheme ()
const fvMeshmesh () const
 Return mesh reference.
virtual tmp< fvMatrix< Type > > fvmLaplacian (const GeometricField< GType, fvsPatchField, surfaceMesh > &, GeometricField< Type, fvPatchField, volMesh > &)=0
virtual tmp< fvMatrix< Type > > fvmLaplacian (const GeometricField< GType, fvPatchField, volMesh > &, GeometricField< Type, fvPatchField, volMesh > &)
virtual tmp< GeometricField
< Type, fvPatchField, volMesh > > 
fvcLaplacian (const GeometricField< Type, fvPatchField, volMesh > &)=0
virtual tmp< GeometricField
< Type, fvPatchField, volMesh > > 
fvcLaplacian (const GeometricField< GType, fvsPatchField, surfaceMesh > &, const GeometricField< Type, fvPatchField, volMesh > &)=0
virtual tmp< GeometricField
< Type, fvPatchField, volMesh > > 
fvcLaplacian (const GeometricField< GType, fvPatchField, volMesh > &, const GeometricField< Type, fvPatchField, volMesh > &)

Static Public Member Functions

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

Protected Member Functions

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

Protected Attributes

const fvMeshmesh_
tmp
< surfaceInterpolationScheme
< GType > > 
tinterpGammaScheme_
tmp< snGradScheme< Type > > tsnGradScheme_

Detailed Description

template<class Type, class GType>
class Foam::fv::laplacianScheme< Type, GType >

Abstract base class for laplacian schemes.

Source files

Definition at line 61 of file laplacianScheme.H.


Constructor & Destructor Documentation

laplacianScheme ( const laplacianScheme< Type, GType > &   )  [protected]

Disallow copy construct.

laplacianScheme ( const fvMesh mesh  )  [inline]

Construct from mesh.

Definition at line 105 of file laplacianScheme.H.

laplacianScheme ( const fvMesh mesh,
Istream is 
) [inline]

Construct from mesh and Istream.

Definition at line 113 of file laplacianScheme.H.

laplacianScheme ( const fvMesh mesh,
const tmp< surfaceInterpolationScheme< GType > > &  igs,
const tmp< snGradScheme< Type > > &  sngs 
) [inline]

Construct from mesh, interpolation and snGradScheme schemes.

Definition at line 132 of file laplacianScheme.H.

~laplacianScheme (  )  [inline, virtual]

Definition at line 85 of file laplacianScheme.C.


Member Function Documentation

void operator= ( const laplacianScheme< Type, GType > &   )  [protected]

Disallow default bitwise assignment.

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

Runtime type information.

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

tmp< laplacianScheme< Type, GType > > New ( const fvMesh mesh,
Istream schemeData 
) [inline, static]

Return a pointer to a new laplacianScheme created on freestore.

Definition at line 37 of file laplacianScheme.C.

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

Here is the call graph for this function:

const fvMesh& mesh (  )  const [inline]

Return mesh reference.

Definition at line 162 of file laplacianScheme.H.

virtual tmp<fvMatrix<Type> > fvmLaplacian ( const GeometricField< GType, fvsPatchField, surfaceMesh > &  ,
GeometricField< Type, fvPatchField, volMesh > &   
) [pure virtual]

tmp< fvMatrix< Type > > fvmLaplacian ( const GeometricField< GType, fvPatchField, volMesh > &  gamma,
GeometricField< Type, fvPatchField, volMesh > &  vf 
) [inline, virtual]

Definition at line 94 of file laplacianScheme.C.

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

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

tmp< GeometricField< Type, fvPatchField, volMesh > > fvcLaplacian ( const GeometricField< GType, fvPatchField, volMesh > &  gamma,
const GeometricField< Type, fvPatchField, volMesh > &  vf 
) [inline, virtual]

Definition at line 106 of file laplacianScheme.C.

References Foam::fvc::interpolate().

Here is the call graph for this function:


Member Data Documentation

const fvMesh& mesh_ [protected]

Definition at line 70 of file laplacianScheme.H.

Definition at line 71 of file laplacianScheme.H.

Definition at line 72 of file laplacianScheme.H.


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