gaussLaplacianScheme< Type > Class Template Reference

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

Inheritance diagram for gaussLaplacianScheme< Type >:
[legend]
Collaboration diagram for gaussLaplacianScheme< Type >:
[legend]

Public Member Functions

 TypeName ("Gauss")
 Runtime type information. More...
 
 gaussLaplacianScheme (const faMesh &mesh)
 Construct null. More...
 
 gaussLaplacianScheme (const faMesh &mesh, Istream &is)
 Construct from Istream. More...
 
tmp< faMatrix< Type > > famLaplacian (const edgeScalarField &, const GeometricField< Type, faPatchField, areaMesh > &)
 
tmp< GeometricField< Type, faPatchField, areaMesh > > facLaplacian (const GeometricField< Type, faPatchField, areaMesh > &)
 
tmp< GeometricField< Type, faPatchField, areaMesh > > facLaplacian (const edgeScalarField &, const GeometricField< Type, faPatchField, areaMesh > &)
 
- Public Member Functions inherited from laplacianScheme< Type >
 declareRunTimeSelectionTable (tmp, laplacianScheme, Istream,(const faMesh &mesh, Istream &schemeData),(mesh, schemeData))
 
 laplacianScheme (const faMesh &mesh)
 Construct from mesh. More...
 
 laplacianScheme (const faMesh &mesh, Istream &is)
 Construct from mesh and Istream. More...
 
virtual ~laplacianScheme ()
 Destructor. More...
 
const faMeshmesh () const
 Return mesh reference. More...
 
virtual tmp< faMatrix< Type > > famLaplacian (const edgeScalarField &, const GeometricField< Type, faPatchField, areaMesh > &)=0
 
virtual tmp< faMatrix< Type > > famLaplacian (const areaScalarField &, const GeometricField< Type, faPatchField, areaMesh > &)
 
virtual tmp< GeometricField< Type, faPatchField, areaMesh > > facLaplacian (const GeometricField< Type, faPatchField, areaMesh > &)=0
 
virtual tmp< GeometricField< Type, faPatchField, areaMesh > > facLaplacian (const edgeScalarField &, const GeometricField< Type, faPatchField, areaMesh > &)=0
 
virtual tmp< GeometricField< Type, faPatchField, areaMesh > > facLaplacian (const areaScalarField &, const GeometricField< Type, faPatchField, areaMesh > &)
 
- Public Member Functions inherited from refCount
constexpr refCount () noexcept
 Default construct, initializing count to 0. More...
 
int count () const noexcept
 Return the current reference count. More...
 
bool unique () const noexcept
 Return true if the reference count is zero. More...
 
void operator++ () noexcept
 Increment the reference count. More...
 
void operator++ (int) noexcept
 Increment the reference count. More...
 
void operator-- () noexcept
 Decrement the reference count. More...
 
void operator-- (int) noexcept
 Decrement the reference count. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from laplacianScheme< Type >
static tmp< laplacianScheme< Type > > New (const faMesh &mesh, Istream &schemeData)
 Return a pointer to a new laplacianScheme created on freestore. More...
 
- Protected Member Functions inherited from laplacianScheme< Type >
 laplacianScheme (const laplacianScheme &)=delete
 No copy construct. More...
 
void operator= (const laplacianScheme &)=delete
 No copy assignment. More...
 
- Protected Attributes inherited from laplacianScheme< Type >
const faMeshmesh_
 
tmp< edgeInterpolationScheme< scalar > > tinterpGammaScheme_
 
tmp< lnGradScheme< Type > > tlnGradScheme_
 

Detailed Description

template<class Type>
class Foam::fa::gaussLaplacianScheme< Type >

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

Source files

Definition at line 57 of file gaussFaLaplacianScheme.H.

Constructor & Destructor Documentation

◆ gaussLaplacianScheme() [1/2]

gaussLaplacianScheme ( const faMesh mesh)
inline

Construct null.

Definition at line 79 of file gaussFaLaplacianScheme.H.

◆ gaussLaplacianScheme() [2/2]

gaussLaplacianScheme ( const faMesh mesh,
Istream is 
)
inline

Construct from Istream.

Definition at line 85 of file gaussFaLaplacianScheme.H.

Member Function Documentation

◆ TypeName()

TypeName ( "Gauss"  )

Runtime type information.

◆ famLaplacian()

◆ facLaplacian() [1/2]

tmp< GeometricField< Type, faPatchField, areaMesh > > facLaplacian ( const GeometricField< Type, faPatchField, areaMesh > &  vf)
virtual

Implements laplacianScheme< Type >.

Definition at line 115 of file gaussFaLaplacianScheme.C.

References Foam::fac::div(), DimensionedField< Type, GeoMesh >::mesh(), IOobject::name(), and tmp< T >::ref().

Here is the call graph for this function:

◆ facLaplacian() [2/2]

tmp< GeometricField< Type, faPatchField, areaMesh > > facLaplacian ( const edgeScalarField gamma,
const GeometricField< Type, faPatchField, areaMesh > &  vf 
)
virtual

Implements laplacianScheme< Type >.

Definition at line 133 of file gaussFaLaplacianScheme.C.

References Foam::fac::div(), gamma, DimensionedField< Type, GeoMesh >::mesh(), IOobject::name(), and tmp< T >::ref().

Here is the call graph for this function:

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