laplacianScheme< Type, GType > Class Template Referenceabstract

Abstract base class for laplacian schemes. More...

Inheritance diagram for laplacianScheme< Type, GType >:
[legend]
Collaboration diagram for laplacianScheme< Type, GType >:
[legend]

Public Member Functions

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...
 
virtual ~laplacianScheme ()=default
 Destructor. More...
 
const fvMeshmesh () const
 Return mesh reference. More...
 
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. 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...
 

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. More...
 

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 70 of file laplacianScheme.H.

Constructor & Destructor Documentation

◆ laplacianScheme() [1/3]

laplacianScheme ( const fvMesh mesh)
inline

Construct from mesh.

Definition at line 116 of file laplacianScheme.H.

◆ laplacianScheme() [2/3]

laplacianScheme ( const fvMesh mesh,
Istream is 
)
inline

Construct from mesh and Istream.

Definition at line 124 of file laplacianScheme.H.

References laplacianScheme< Type, GType >::mesh(), Time::New(), laplacianScheme< Type, GType >::tinterpGammaScheme_, and laplacianScheme< Type, GType >::tsnGradScheme_.

Here is the call graph for this function:

◆ laplacianScheme() [3/3]

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 142 of file laplacianScheme.H.

◆ ~laplacianScheme()

virtual ~laplacianScheme ( )
virtualdefault

Destructor.

Member Function Documentation

◆ type()

virtual const word & type ( ) const
pure virtual

Runtime type information.

◆ declareRunTimeSelectionTable()

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

◆ New()

tmp< laplacianScheme< Type, GType > > New ( const fvMesh mesh,
Istream schemeData 
)
static

Return a pointer to a new laplacianScheme created on freestore.

Definition at line 47 of file laplacianScheme.C.

References Foam::endl(), IOstream::eof(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, FatalIOErrorInLookup, InfoInFunction, and mesh.

Here is the call graph for this function:

◆ mesh()

const fvMesh & mesh ( ) const
inline

Return mesh reference.

Definition at line 172 of file laplacianScheme.H.

References laplacianScheme< Type, GType >::mesh_.

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

Here is the caller graph for this function:

◆ fvmLaplacian() [1/2]

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

◆ fvmLaplacian() [2/2]

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

Definition at line 90 of file laplacianScheme.C.

References gamma, and Foam::interpolate().

Here is the call graph for this function:

◆ fvcLaplacian() [1/3]

◆ fvcLaplacian() [2/3]

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

◆ fvcLaplacian() [3/3]

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

Definition at line 102 of file laplacianScheme.C.

References gamma, and Foam::interpolate().

Here is the call graph for this function:

Member Data Documentation

◆ mesh_

const fvMesh& mesh_
protected

Definition at line 79 of file laplacianScheme.H.

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

◆ tinterpGammaScheme_

tmp<surfaceInterpolationScheme<GType> > tinterpGammaScheme_
protected

Definition at line 80 of file laplacianScheme.H.

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

◆ tsnGradScheme_

tmp<snGradScheme<Type> > tsnGradScheme_
protected

Definition at line 81 of file laplacianScheme.H.

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


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