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

laplacianScheme< Type, GType > Class Template Reference

Abstract base class for laplacian schemes. More...

#include <finiteVolume/laplacianScheme.H>


Detailed Description

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

Abstract base class for laplacian schemes.

Source files

Definition at line 66 of file laplacianScheme.H.

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

List of all members.

Public Member Functions

virtual const word &  type () 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 fvMesh &  mesh () 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 fvMesh &  mesh_
tmp
< surfaceInterpolationScheme
< GType > >  
tinterpGammaScheme_
tmp< snGradScheme< Type > >  tsnGradScheme_

Constructor & Destructor Documentation

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

Disallow copy construct.

laplacianScheme ( const fvMesh &   mesh  ) [inline]

Construct from mesh.

Definition at line 110 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 137 of file laplacianScheme.H.

~laplacianScheme (  ) [virtual]

Definition at line 93 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  
) [static]

Return a pointer to a new laplacianScheme created on freestore.

Definition at line 45 of file laplacianScheme.C.

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

Referenced by laplacianScheme< Type, GType >::laplacianScheme().

const fvMesh& mesh (  ) const [inline]

Return mesh reference.

Definition at line 167 of file laplacianScheme.H.

References laplacianScheme< Type, GType >::mesh_.

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  
) [virtual]

Definition at line 102 of file laplacianScheme.C.

References Foam::interpolate().

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  
) [virtual]

Definition at line 114 of file laplacianScheme.C.

References Foam::interpolate().


Member Data Documentation

const fvMesh& mesh_ [protected]

Definition at line 75 of file laplacianScheme.H.

Referenced by laplacianScheme< Type, GType >::mesh().

tmp<snGradScheme<Type> > tsnGradScheme_ [protected]

Definition at line 77 of file laplacianScheme.H.

Referenced by laplacianScheme< Type, GType >::laplacianScheme().


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