gaussLaplacianScheme< Type, GType > Class Template Reference

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

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

Public Member Functions

 TypeName ("Gauss")
 Runtime type information. More...
 
 gaussLaplacianScheme (const fvMesh &mesh)
 Construct null. More...
 
 gaussLaplacianScheme (const fvMesh &mesh, Istream &is)
 Construct from Istream. More...
 
 gaussLaplacianScheme (const fvMesh &mesh, const tmp< surfaceInterpolationScheme< GType >> &igs, const tmp< snGradScheme< Type >> &sngs)
 Construct from mesh, interpolation and snGradScheme schemes. More...
 
virtual ~gaussLaplacianScheme ()
 Destructor. More...
 
tmp< VolField< Type > > fvcLaplacian (const VolField< Type > &)
 
tmp< fvMatrix< Type > > fvmLaplacian (const SurfaceField< GType > &, const VolField< Type > &)
 
tmp< VolField< Type > > fvcLaplacian (const SurfaceField< GType > &, const VolField< Type > &)
 
tmp< fvMatrix< scalar > > fvmLaplacian (const SurfaceField< scalar > &, const VolField< scalar > &)
 
tmp< VolField< scalar > > fvcLaplacian (const SurfaceField< scalar > &, const VolField< scalar > &)
 
tmp< fvMatrix< vector > > fvmLaplacian (const SurfaceField< scalar > &, const VolField< vector > &)
 
tmp< VolField< vector > > fvcLaplacian (const SurfaceField< scalar > &, const VolField< vector > &)
 
tmp< fvMatrix< sphericalTensor > > fvmLaplacian (const SurfaceField< scalar > &, const VolField< sphericalTensor > &)
 
tmp< VolField< sphericalTensor > > fvcLaplacian (const SurfaceField< scalar > &, const VolField< sphericalTensor > &)
 
tmp< fvMatrix< symmTensor > > fvmLaplacian (const SurfaceField< scalar > &, const VolField< symmTensor > &)
 
tmp< VolField< symmTensor > > fvcLaplacian (const SurfaceField< scalar > &, const VolField< symmTensor > &)
 
tmp< fvMatrix< tensor > > fvmLaplacian (const SurfaceField< scalar > &, const VolField< tensor > &)
 
tmp< VolField< tensor > > fvcLaplacian (const SurfaceField< scalar > &, const VolField< tensor > &)
 
Foam::tmp< Foam::VolField< Foam::scalar > > fvcLaplacian (const SurfaceField< scalar > &gamma, const VolField< scalar > &vf)
 
Foam::tmp< Foam::fvMatrix< Foam::vector > > fvmLaplacian (const SurfaceField< scalar > &gamma, const VolField< vector > &vf)
 
Foam::tmp< Foam::VolField< Foam::vector > > fvcLaplacian (const SurfaceField< scalar > &gamma, const VolField< vector > &vf)
 
Foam::tmp< Foam::fvMatrix< Foam::sphericalTensor > > fvmLaplacian (const SurfaceField< scalar > &gamma, const VolField< sphericalTensor > &vf)
 
Foam::tmp< Foam::VolField< Foam::sphericalTensor > > fvcLaplacian (const SurfaceField< scalar > &gamma, const VolField< sphericalTensor > &vf)
 
Foam::tmp< Foam::fvMatrix< Foam::symmTensor > > fvmLaplacian (const SurfaceField< scalar > &gamma, const VolField< symmTensor > &vf)
 
Foam::tmp< Foam::VolField< Foam::symmTensor > > fvcLaplacian (const SurfaceField< scalar > &gamma, const VolField< symmTensor > &vf)
 
Foam::tmp< Foam::fvMatrix< Foam::tensor > > fvmLaplacian (const SurfaceField< scalar > &gamma, const VolField< tensor > &vf)
 
Foam::tmp< Foam::VolField< Foam::tensor > > fvcLaplacian (const SurfaceField< scalar > &gamma, const VolField< tensor > &vf)
 
- Public Member Functions inherited from laplacianScheme< Type, GType >
virtual const wordtype () const =0
 Runtime type information. More...
 
 declareRunTimeSelectionTable (tmp, laplacianScheme, Istream,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData))
 
 laplacianScheme (const fvMesh &mesh)
 Construct from mesh. More...
 
 laplacianScheme (const fvMesh &mesh, Istream &is)
 Construct from mesh and Istream. More...
 
 laplacianScheme (const fvMesh &mesh, const tmp< surfaceInterpolationScheme< GType >> &igs, const tmp< snGradScheme< Type >> &sngs)
 Construct from mesh, interpolation and snGradScheme schemes. More...
 
 laplacianScheme (const laplacianScheme &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~laplacianScheme ()
 Destructor. More...
 
const fvMeshmesh () const
 Return mesh reference. More...
 
virtual tmp< fvMatrix< Type > > fvmLaplacian (const VolField< GType > &, const VolField< Type > &)
 
virtual tmp< VolField< Type > > fvcLaplacian (const VolField< GType > &, const VolField< Type > &)
 
void operator= (const laplacianScheme &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from refCount
int count () const
 Return the current reference count. More...
 
bool unique () const
 Return true if the reference count is zero. More...
 
void operator++ ()
 Increment the reference count. More...
 
void operator++ (int)
 Increment the reference count. More...
 
void operator-- ()
 Decrement the reference count. More...
 
void operator-- (int)
 Decrement the reference count. More...
 
void operator= (const refCount &)=delete
 Disallow bitwise assignment. More...
 

Static Public Member Functions

static tmp< fvMatrix< Type > > fvmLaplacianUncorrected (const surfaceScalarField &gammaMagSf, const surfaceScalarField &deltaCoeffs, const VolField< Type > &)
 
- 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. More...
 

Additional Inherited Members

- Protected Member Functions inherited from refCount
 refCount ()
 Construct null initialising count to 0. More...
 
 refCount (const refCount &)=delete
 Disallow copy. More...
 
- Protected Attributes inherited from laplacianScheme< Type, GType >
const fvMeshmesh_
 
tmp< surfaceInterpolationScheme< GType > > tinterpGammaScheme_
 
tmp< snGradScheme< Type > > tsnGradScheme_
 

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 54 of file gaussLaplacianScheme.H.

Constructor & Destructor Documentation

◆ gaussLaplacianScheme() [1/3]

gaussLaplacianScheme ( const fvMesh mesh)
inline

Construct null.

Definition at line 82 of file gaussLaplacianScheme.H.

◆ gaussLaplacianScheme() [2/3]

gaussLaplacianScheme ( const fvMesh mesh,
Istream is 
)
inline

Construct from Istream.

Definition at line 88 of file gaussLaplacianScheme.H.

◆ gaussLaplacianScheme() [3/3]

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 94 of file gaussLaplacianScheme.H.

◆ ~gaussLaplacianScheme()

virtual ~gaussLaplacianScheme ( )
inlinevirtual

Destructor.

Definition at line 106 of file gaussLaplacianScheme.H.

Member Function Documentation

◆ TypeName()

TypeName ( "Gauss"  )

Runtime type information.

◆ fvmLaplacianUncorrected()

◆ fvcLaplacian() [1/12]

tmp< VolField< Type > > fvcLaplacian ( const VolField< Type > &  vf)
virtual

Implements laplacianScheme< Type, GType >.

Definition at line 129 of file gaussLaplacianScheme.C.

References Foam::fvc::div(), fvMesh::magSf(), IOobject::name(), tmp< T >::ref(), and Foam::fvc::snGrad().

Here is the call graph for this function:

◆ fvmLaplacian() [1/10]

tmp< fvMatrix< Type > > fvmLaplacian ( const SurfaceField< GType > &  gamma,
const VolField< Type > &  vf 
)
virtual

◆ fvcLaplacian() [2/12]

tmp< VolField< Type > > fvcLaplacian ( const SurfaceField< GType > &  gamma,
const VolField< Type > &  vf 
)
virtual

Implements laplacianScheme< Type, GType >.

Definition at line 196 of file gaussLaplacianScheme.C.

References Foam::fvc::div(), fvMesh::magSf(), IOobject::name(), tmp< T >::ref(), fvMesh::Sf(), Foam::Sn(), and Foam::fvc::snGrad().

Here is the call graph for this function:

◆ fvmLaplacian() [2/10]

tmp< fvMatrix< scalar > > fvmLaplacian ( const SurfaceField< scalar > &  ,
const VolField< scalar > &   
)

◆ fvcLaplacian() [3/12]

tmp< VolField< scalar > > fvcLaplacian ( const SurfaceField< scalar > &  ,
const VolField< scalar > &   
)

◆ fvmLaplacian() [3/10]

tmp< fvMatrix< vector > > fvmLaplacian ( const SurfaceField< scalar > &  ,
const VolField< vector > &   
)

◆ fvcLaplacian() [4/12]

tmp< VolField< vector > > fvcLaplacian ( const SurfaceField< scalar > &  ,
const VolField< vector > &   
)

◆ fvmLaplacian() [4/10]

tmp< fvMatrix< sphericalTensor > > fvmLaplacian ( const SurfaceField< scalar > &  ,
const VolField< sphericalTensor > &   
)

◆ fvcLaplacian() [5/12]

tmp< VolField< sphericalTensor > > fvcLaplacian ( const SurfaceField< scalar > &  ,
const VolField< sphericalTensor > &   
)

◆ fvmLaplacian() [5/10]

tmp< fvMatrix< symmTensor > > fvmLaplacian ( const SurfaceField< scalar > &  ,
const VolField< symmTensor > &   
)

◆ fvcLaplacian() [6/12]

tmp< VolField< symmTensor > > fvcLaplacian ( const SurfaceField< scalar > &  ,
const VolField< symmTensor > &   
)

◆ fvmLaplacian() [6/10]

tmp< fvMatrix< tensor > > fvmLaplacian ( const SurfaceField< scalar > &  ,
const VolField< tensor > &   
)

◆ fvcLaplacian() [7/12]

tmp< VolField< tensor > > fvcLaplacian ( const SurfaceField< scalar > &  ,
const VolField< tensor > &   
)

◆ fvcLaplacian() [8/12]

Foam::tmp< Foam::VolField< Foam::scalar > > fvcLaplacian ( const SurfaceField< scalar > &  gamma,
const VolField< scalar > &  vf 
)

Definition at line 114 of file gaussLaplacianSchemes.C.

◆ fvmLaplacian() [7/10]

Foam::tmp< Foam::fvMatrix< Foam::vector > > fvmLaplacian ( const SurfaceField< scalar > &  gamma,
const VolField< vector > &  vf 
)

Definition at line 115 of file gaussLaplacianSchemes.C.

◆ fvcLaplacian() [9/12]

Foam::tmp< Foam::VolField< Foam::vector > > fvcLaplacian ( const SurfaceField< scalar > &  gamma,
const VolField< vector > &  vf 
)

Definition at line 115 of file gaussLaplacianSchemes.C.

◆ fvmLaplacian() [8/10]

Foam::tmp< Foam::fvMatrix< Foam::sphericalTensor > > fvmLaplacian ( const SurfaceField< scalar > &  gamma,
const VolField< sphericalTensor > &  vf 
)

Definition at line 116 of file gaussLaplacianSchemes.C.

◆ fvcLaplacian() [10/12]

Foam::tmp< Foam::VolField< Foam::sphericalTensor > > fvcLaplacian ( const SurfaceField< scalar > &  gamma,
const VolField< sphericalTensor > &  vf 
)

Definition at line 116 of file gaussLaplacianSchemes.C.

◆ fvmLaplacian() [9/10]

Foam::tmp< Foam::fvMatrix< Foam::symmTensor > > fvmLaplacian ( const SurfaceField< scalar > &  gamma,
const VolField< symmTensor > &  vf 
)

Definition at line 117 of file gaussLaplacianSchemes.C.

◆ fvcLaplacian() [11/12]

Foam::tmp< Foam::VolField< Foam::symmTensor > > fvcLaplacian ( const SurfaceField< scalar > &  gamma,
const VolField< symmTensor > &  vf 
)

Definition at line 117 of file gaussLaplacianSchemes.C.

◆ fvmLaplacian() [10/10]

Foam::tmp< Foam::fvMatrix< Foam::tensor > > fvmLaplacian ( const SurfaceField< scalar > &  gamma,
const VolField< tensor > &  vf 
)

Definition at line 118 of file gaussLaplacianSchemes.C.

◆ fvcLaplacian() [12/12]

Foam::tmp< Foam::VolField< Foam::tensor > > fvcLaplacian ( const SurfaceField< scalar > &  gamma,
const VolField< tensor > &  vf 
)

Definition at line 118 of file gaussLaplacianSchemes.C.


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