FreeFOAM The Cross-Platform CFD Toolkit
gaussLaplacianScheme< Type, GType > Class Template Reference

Basic second-order laplacian using face-gradients and Gauss' theorem. More...

#include <finiteVolume/gaussLaplacianScheme.H>


Detailed Description

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

Basic second-order laplacian using face-gradients and Gauss' theorem.

Source files

Definition at line 55 of file gaussLaplacianScheme.H.

+ Inheritance diagram for gaussLaplacianScheme< Type, GType >:
+ Collaboration diagram for gaussLaplacianScheme< Type, GType >:

List of all members.

Public Member Functions

 TypeName ("Gauss")
 Runtime type information.
 gaussLaplacianScheme (const fvMesh &mesh)
 Construct null.
 gaussLaplacianScheme (const fvMesh &mesh, Istream &is)
 Construct from Istream.
 gaussLaplacianScheme (const fvMesh &mesh, const tmp< surfaceInterpolationScheme< GType > > &igs, const tmp< snGradScheme< Type > > &sngs)
 Construct from mesh, interpolation and snGradScheme schemes.
virtual ~gaussLaplacianScheme ()
tmp< GeometricField< Type,
fvPatchField, volMesh > > 
fvcLaplacian (const GeometricField< Type, fvPatchField, volMesh > &)
tmp< fvMatrix< Type > > fvmLaplacian (const GeometricField< GType, fvsPatchField, surfaceMesh > &, GeometricField< Type, fvPatchField, volMesh > &)
tmp< GeometricField< Type,
fvPatchField, volMesh > > 
fvcLaplacian (const GeometricField< GType, fvsPatchField, surfaceMesh > &, const GeometricField< Type, fvPatchField, volMesh > &)
template<>
tmp< fvMatrix< scalar > > fvmLaplacian (const GeometricField< scalar, fvsPatchField, surfaceMesh > &, GeometricField< scalar, fvPatchField, volMesh > &)
template<>
tmp< GeometricField< scalar,
fvPatchField, volMesh > > 
fvcLaplacian (const GeometricField< scalar, fvsPatchField, surfaceMesh > &, const GeometricField< scalar, fvPatchField, volMesh > &)
template<>
tmp< fvMatrix< vector > > fvmLaplacian (const GeometricField< scalar, fvsPatchField, surfaceMesh > &, GeometricField< vector, fvPatchField, volMesh > &)
template<>
tmp< GeometricField< vector,
fvPatchField, volMesh > > 
fvcLaplacian (const GeometricField< scalar, fvsPatchField, surfaceMesh > &, const GeometricField< vector, fvPatchField, volMesh > &)
template<>
tmp< fvMatrix< sphericalTensor > > fvmLaplacian (const GeometricField< scalar, fvsPatchField, surfaceMesh > &, GeometricField< sphericalTensor, fvPatchField, volMesh > &)
template<>
tmp< GeometricField
< sphericalTensor,
fvPatchField, volMesh > > 
fvcLaplacian (const GeometricField< scalar, fvsPatchField, surfaceMesh > &, const GeometricField< sphericalTensor, fvPatchField, volMesh > &)
template<>
tmp< fvMatrix< symmTensor > > fvmLaplacian (const GeometricField< scalar, fvsPatchField, surfaceMesh > &, GeometricField< symmTensor, fvPatchField, volMesh > &)
template<>
tmp< GeometricField
< symmTensor, fvPatchField,
volMesh > > 
fvcLaplacian (const GeometricField< scalar, fvsPatchField, surfaceMesh > &, const GeometricField< symmTensor, fvPatchField, volMesh > &)
template<>
tmp< fvMatrix< tensor > > fvmLaplacian (const GeometricField< scalar, fvsPatchField, surfaceMesh > &, GeometricField< tensor, fvPatchField, volMesh > &)
template<>
tmp< GeometricField< tensor,
fvPatchField, volMesh > > 
fvcLaplacian (const GeometricField< scalar, fvsPatchField, surfaceMesh > &, const GeometricField< tensor, fvPatchField, volMesh > &)
template<>
Foam::tmp< Foam::fvMatrix
< Foam::scalar > > 
fvmLaplacian (const GeometricField< scalar, fvsPatchField, surfaceMesh > &gamma, GeometricField< scalar, fvPatchField, volMesh > &vf)
template<>
Foam::tmp
< Foam::GeometricField
< Foam::scalar,
Foam::fvPatchField,
Foam::volMesh > > 
fvcLaplacian (const GeometricField< scalar, fvsPatchField, surfaceMesh > &gamma, const GeometricField< scalar, fvPatchField, volMesh > &vf)
template<>
Foam::tmp< Foam::fvMatrix
< Foam::vector > > 
fvmLaplacian (const GeometricField< scalar, fvsPatchField, surfaceMesh > &gamma, GeometricField< vector, fvPatchField, volMesh > &vf)
template<>
Foam::tmp
< Foam::GeometricField
< Foam::vector,
Foam::fvPatchField,
Foam::volMesh > > 
fvcLaplacian (const GeometricField< scalar, fvsPatchField, surfaceMesh > &gamma, const GeometricField< vector, fvPatchField, volMesh > &vf)
template<>
Foam::tmp< Foam::fvMatrix
< Foam::sphericalTensor > > 
fvmLaplacian (const GeometricField< scalar, fvsPatchField, surfaceMesh > &gamma, GeometricField< sphericalTensor, fvPatchField, volMesh > &vf)
template<>
Foam::tmp
< Foam::GeometricField
< Foam::sphericalTensor,
Foam::fvPatchField,
Foam::volMesh > > 
fvcLaplacian (const GeometricField< scalar, fvsPatchField, surfaceMesh > &gamma, const GeometricField< sphericalTensor, fvPatchField, volMesh > &vf)
template<>
Foam::tmp< Foam::fvMatrix
< Foam::symmTensor > > 
fvmLaplacian (const GeometricField< scalar, fvsPatchField, surfaceMesh > &gamma, GeometricField< symmTensor, fvPatchField, volMesh > &vf)
template<>
Foam::tmp
< Foam::GeometricField
< Foam::symmTensor,
Foam::fvPatchField,
Foam::volMesh > > 
fvcLaplacian (const GeometricField< scalar, fvsPatchField, surfaceMesh > &gamma, const GeometricField< symmTensor, fvPatchField, volMesh > &vf)
template<>
Foam::tmp< Foam::fvMatrix
< Foam::tensor > > 
fvmLaplacian (const GeometricField< scalar, fvsPatchField, surfaceMesh > &gamma, GeometricField< tensor, fvPatchField, volMesh > &vf)
template<>
Foam::tmp
< Foam::GeometricField
< Foam::tensor,
Foam::fvPatchField,
Foam::volMesh > > 
fvcLaplacian (const GeometricField< scalar, fvsPatchField, surfaceMesh > &gamma, const GeometricField< tensor, fvPatchField, volMesh > &vf)
- Public Member Functions inherited from laplacianScheme< Type, GType >
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, fvPatchField, volMesh > &, GeometricField< Type, fvPatchField, volMesh > &)
virtual tmp< GeometricField
< Type, fvPatchField, volMesh > > 
fvcLaplacian (const GeometricField< GType, fvPatchField, volMesh > &, const GeometricField< Type, fvPatchField, volMesh > &)
- 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.

Additional Inherited Members

- Static Public Member Functions inherited from laplacianScheme< Type, GType >
static tmp< laplacianScheme
< Type, GType > > 
New (const fvMesh &mesh, Istream &schemeData)
 Return a pointer to a new laplacianScheme created on freestore.
- Protected Member Functions inherited from laplacianScheme< Type, GType >
 laplacianScheme (const laplacianScheme &)
 Disallow copy construct.
void operator= (const laplacianScheme &)
 Disallow default bitwise assignment.
- Protected Attributes inherited from laplacianScheme< Type, GType >
const fvMeshmesh_
tmp
< surfaceInterpolationScheme
< GType > > 
tinterpGammaScheme_
tmp< snGradScheme< Type > > tsnGradScheme_

Constructor & Destructor Documentation

gaussLaplacianScheme ( const fvMesh mesh)
inline

Construct null.

Definition at line 89 of file gaussLaplacianScheme.H.

gaussLaplacianScheme ( const fvMesh mesh,
Istream is 
)
inline

Construct from Istream.

Definition at line 95 of file gaussLaplacianScheme.H.

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

Construct from mesh, interpolation and snGradScheme schemes.

Definition at line 102 of file gaussLaplacianScheme.H.

virtual ~gaussLaplacianScheme ( )
inlinevirtual

Definition at line 114 of file gaussLaplacianScheme.H.


Member Function Documentation

TypeName ( "Gauss"  )

Runtime type information.

tmp< GeometricField< Type, fvPatchField, volMesh > > fvcLaplacian ( const GeometricField< Type, fvPatchField, volMesh > &  vf)
virtual
tmp< GeometricField< Type, fvPatchField, volMesh > > fvcLaplacian ( const GeometricField< GType, fvsPatchField, surfaceMesh > &  gamma,
const GeometricField< Type, fvPatchField, volMesh > &  vf 
)
virtual
tmp< fvMatrix< scalar > > fvmLaplacian ( const GeometricField< scalar, fvsPatchField, surfaceMesh > &  ,
GeometricField< scalar, fvPatchField, volMesh > &   
)
tmp< GeometricField< scalar, fvPatchField, volMesh > > fvcLaplacian ( const GeometricField< scalar, fvsPatchField, surfaceMesh > &  ,
const GeometricField< scalar, fvPatchField, volMesh > &   
)
tmp< fvMatrix< vector > > fvmLaplacian ( const GeometricField< scalar, fvsPatchField, surfaceMesh > &  ,
GeometricField< vector, fvPatchField, volMesh > &   
)
tmp< GeometricField< vector, fvPatchField, volMesh > > fvcLaplacian ( const GeometricField< scalar, fvsPatchField, surfaceMesh > &  ,
const GeometricField< vector, fvPatchField, volMesh > &   
)
tmp< fvMatrix< symmTensor > > fvmLaplacian ( const GeometricField< scalar, fvsPatchField, surfaceMesh > &  ,
GeometricField< symmTensor, fvPatchField, volMesh > &   
)
tmp< fvMatrix< tensor > > fvmLaplacian ( const GeometricField< scalar, fvsPatchField, surfaceMesh > &  ,
GeometricField< tensor, fvPatchField, volMesh > &   
)
tmp< GeometricField< tensor, fvPatchField, volMesh > > fvcLaplacian ( const GeometricField< scalar, fvsPatchField, surfaceMesh > &  ,
const GeometricField< tensor, fvPatchField, volMesh > &   
)
Foam::tmp< Foam::fvMatrix< Foam::scalar > > fvmLaplacian ( const GeometricField< scalar, fvsPatchField, surfaceMesh > &  gamma,
GeometricField< scalar, fvPatchField, volMesh > &  vf 
)

Definition at line 112 of file gaussLaplacianSchemes.C.

Foam::tmp< Foam::GeometricField< Foam::scalar, Foam::fvPatchField, Foam::volMesh > > fvcLaplacian ( const GeometricField< scalar, fvsPatchField, surfaceMesh > &  gamma,
const GeometricField< scalar, fvPatchField, volMesh > &  vf 
)

Definition at line 112 of file gaussLaplacianSchemes.C.

Foam::tmp< Foam::fvMatrix< Foam::vector > > fvmLaplacian ( const GeometricField< scalar, fvsPatchField, surfaceMesh > &  gamma,
GeometricField< vector, fvPatchField, volMesh > &  vf 
)

Definition at line 113 of file gaussLaplacianSchemes.C.

Definition at line 113 of file gaussLaplacianSchemes.C.

Definition at line 114 of file gaussLaplacianSchemes.C.

Definition at line 115 of file gaussLaplacianSchemes.C.

Foam::tmp< Foam::fvMatrix< Foam::tensor > > fvmLaplacian ( const GeometricField< scalar, fvsPatchField, surfaceMesh > &  gamma,
GeometricField< tensor, fvPatchField, volMesh > &  vf 
)

Definition at line 116 of file gaussLaplacianSchemes.C.

Definition at line 116 of file gaussLaplacianSchemes.C.


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