Loading...
Searching...
No Matches
laplacianScheme< Type, GType > Class Template Referenceabstract

Abstract base class for laplacian schemes. More...

#include <laplacianScheme.H>

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

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 ()=default
 Destructor.
const fvMeshmesh () const
 Return mesh reference.
virtual tmp< fvMatrix< Type > > fvmLaplacian (const GeometricField< GType, fvsPatchField, surfaceMesh > &, const GeometricField< Type, fvPatchField, volMesh > &)=0
virtual tmp< fvMatrix< Type > > fvmLaplacian (const GeometricField< GType, fvPatchField, volMesh > &, const 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 > &)
Public Member Functions inherited from refCount
constexpr refCount () noexcept
 Default construct, initializing count to 0.
int use_count () const noexcept
 Return the current reference count.
bool unique () const noexcept
 Return true if the reference count is zero.
void operator++ () noexcept
 Increment the reference count.
void operator++ (int) noexcept
 Increment the reference count.
void operator-- () noexcept
 Decrement the reference count.
void operator-- (int) noexcept
 Decrement the reference count.

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 &)=delete
 No copy construct.
void operator= (const laplacianScheme &)=delete
 No copy 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 65 of file laplacianScheme.H.

Constructor & Destructor Documentation

◆ laplacianScheme() [1/4]

◆ laplacianScheme() [2/4]

template<class Type, class GType>
laplacianScheme ( const fvMesh & mesh)
inline

Construct from mesh.

Definition at line 116 of file laplacianScheme.H.

◆ laplacianScheme() [3/4]

template<class Type, class GType>
laplacianScheme ( const fvMesh & mesh,
Istream & is )
inline

Construct from mesh and Istream.

Definition at line 126 of file laplacianScheme.H.

◆ laplacianScheme() [4/4]

template<class Type, class GType>
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 152 of file laplacianScheme.H.

◆ ~laplacianScheme()

template<class Type, class GType>
virtual ~laplacianScheme ( )
virtualdefault

Destructor.

Member Function Documentation

◆ operator=()

template<class Type, class GType>
void operator= ( const laplacianScheme< Type, GType > & )
protecteddelete

No copy assignment.

◆ type()

template<class Type, class GType>
virtual const word & type ( ) const
pure virtual

Runtime type information.

◆ declareRunTimeSelectionTable()

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

◆ New()

template<class Type, class GType>
tmp< laplacianScheme< Type, GType > > New ( const fvMesh & mesh,
Istream & schemeData )
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, FatalIOErrorInFunction, FatalIOErrorInLookup, InfoInFunction, and mesh().

Referenced by Foam::fvc::laplacian(), Foam::fvc::laplacian(), Foam::fvc::laplacian(), Foam::fvm::laplacian(), and Foam::fvm::laplacian().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mesh()

template<class Type, class GType>
const fvMesh & mesh ( ) const
inline

Return mesh reference.

Definition at line 188 of file laplacianScheme.H.

Referenced by fusedGaussLaplacianScheme< Type, GType >::fusedGaussLaplacianScheme(), fusedGaussLaplacianScheme< Type, GType >::fusedGaussLaplacianScheme(), fusedGaussLaplacianScheme< Type, GType >::fusedGaussLaplacianScheme(), fusedGaussLaplacianScheme< Type, GType >::fvcLaplacian(), fusedGaussLaplacianScheme< Type, GType >::fvcLaplacian(), fusedGaussLaplacianScheme< Type, GType >::fvcLaplacian(), fusedGaussLaplacianScheme< Type, GType >::fvcLaplacian(), fusedGaussLaplacianScheme< Type, GType >::fvcLaplacian(), gaussLaplacianScheme< Type, GType >::fvcLaplacian(), gaussLaplacianScheme< Type, GType >::fvcLaplacian(), relaxedNonOrthoGaussLaplacianScheme< Type, GType >::fvcLaplacian(), relaxedNonOrthoGaussLaplacianScheme< Type, GType >::fvcLaplacian(), fusedGaussLaplacianScheme< Type, GType >::fvmLaplacian(), gaussLaplacianScheme< Type, GType >::fvmLaplacian(), relaxedNonOrthoGaussLaplacianScheme< Type, GType >::fvmLaplacian(), gaussLaplacianScheme< Type, GType >::gaussLaplacianScheme(), gaussLaplacianScheme< Type, GType >::gaussLaplacianScheme(), gaussLaplacianScheme< Type, GType >::gaussLaplacianScheme(), New(), relaxedNonOrthoGaussLaplacianScheme< Type, GType >::relaxedNonOrthoGaussLaplacianScheme(), relaxedNonOrthoGaussLaplacianScheme< Type, GType >::relaxedNonOrthoGaussLaplacianScheme(), and relaxedNonOrthoGaussLaplacianScheme< Type, GType >::relaxedNonOrthoGaussLaplacianScheme().

Here is the caller graph for this function:

◆ fvmLaplacian() [1/2]

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

◆ fvmLaplacian() [2/2]

template<class Type, class GType>
tmp< fvMatrix< Type > > fvmLaplacian ( const GeometricField< GType, fvPatchField, volMesh > & gamma,
const GeometricField< Type, fvPatchField, volMesh > & vf )
virtual

Reimplemented in fusedGaussLaplacianScheme< Type, GType >.

Definition at line 80 of file laplacianScheme.C.

References fvmLaplacian(), gamma, Foam::interpolate(), and tinterpGammaScheme_.

Here is the call graph for this function:

◆ fvcLaplacian() [1/3]

template<class Type, class GType>
virtual tmp< GeometricField< Type, fvPatchField, volMesh > > fvcLaplacian ( const GeometricField< Type, fvPatchField, volMesh > & )
pure virtual

◆ fvcLaplacian() [2/3]

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

◆ fvcLaplacian() [3/3]

template<class Type, class GType>
tmp< GeometricField< Type, fvPatchField, volMesh > > fvcLaplacian ( const GeometricField< GType, fvPatchField, volMesh > & gamma,
const GeometricField< Type, fvPatchField, volMesh > & vf )
virtual

Reimplemented in fusedGaussLaplacianScheme< Type, GType >.

Definition at line 92 of file laplacianScheme.C.

References fvcLaplacian(), gamma, Foam::interpolate(), and tinterpGammaScheme_.

Here is the call graph for this function:

Member Data Documentation

◆ mesh_

template<class Type, class GType>
const fvMesh& mesh_
protected

Definition at line 73 of file laplacianScheme.H.

◆ tinterpGammaScheme_

◆ tsnGradScheme_


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