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

Abstract base class for finite area calculus laplacian schemes. More...

#include <faLaplacianScheme.H>

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

Public Member Functions

 declareRunTimeSelectionTable (tmp, laplacianScheme, Istream,(const faMesh &mesh, Istream &schemeData),(mesh, schemeData))
 laplacianScheme (const laplacianScheme &)=delete
 No copy construct.
void operator= (const laplacianScheme &)=delete
 No copy assignment.
 laplacianScheme (const faMesh &mesh)
 Construct from mesh.
 laplacianScheme (const faMesh &mesh, Istream &is)
 Construct from mesh and Istream.
virtual ~laplacianScheme ()
 Destructor.
const faMeshmesh () const
 Return mesh reference.
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.
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 > > New (const faMesh &mesh, Istream &schemeData)
 Return a pointer to a new laplacianScheme created on freestore.

Protected Attributes

const faMeshmesh_
tmp< edgeInterpolationScheme< scalar > > tinterpGammaScheme_
tmp< lnGradScheme< Type > > tlnGradScheme_

Detailed Description

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

Abstract base class for finite area calculus laplacian schemes.

Source files

Definition at line 60 of file faLaplacianScheme.H.

Constructor & Destructor Documentation

◆ laplacianScheme() [1/3]

template<class Type>
laplacianScheme ( const laplacianScheme< Type > & )
delete

No copy construct.

References laplacianScheme().

Referenced by declareRunTimeSelectionTable(), gaussLaplacianScheme< Type >::gaussLaplacianScheme(), gaussLaplacianScheme< Type >::gaussLaplacianScheme(), laplacianScheme(), and operator=().

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

◆ laplacianScheme() [2/3]

template<class Type>
laplacianScheme ( const faMesh & mesh)
inline

Construct from mesh.

Definition at line 106 of file faLaplacianScheme.H.

References mesh(), mesh_, tinterpGammaScheme_, and tlnGradScheme_.

Here is the call graph for this function:

◆ laplacianScheme() [3/3]

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

Construct from mesh and Istream.

Definition at line 116 of file faLaplacianScheme.H.

References IOstream::eof(), mesh(), and mesh_.

Here is the call graph for this function:

◆ ~laplacianScheme()

template<class Type>
~laplacianScheme ( )
virtual

Destructor.

Definition at line 81 of file faLaplacianScheme.C.

Member Function Documentation

◆ declareRunTimeSelectionTable()

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

References laplacianScheme(), and mesh().

Here is the call graph for this function:

◆ operator=()

template<class Type>
void operator= ( const laplacianScheme< Type > & )
delete

No copy assignment.

References laplacianScheme().

Here is the call graph for this function:

◆ New()

template<class Type>
tmp< laplacianScheme< Type > > New ( const faMesh & mesh,
Istream & schemeData )
static

Return a pointer to a new laplacianScheme created on freestore.

Definition at line 37 of file faLaplacianScheme.C.

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

Referenced by Foam::fac::laplacian(), Foam::fac::laplacian(), and Foam::fam::laplacian().

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

◆ mesh()

template<class Type>
const faMesh & mesh ( ) const
inline

Return mesh reference.

Definition at line 170 of file faLaplacianScheme.H.

References mesh_.

Referenced by declareRunTimeSelectionTable(), gaussLaplacianScheme< Type >::gaussLaplacianScheme(), gaussLaplacianScheme< Type >::gaussLaplacianScheme(), laplacianScheme(), laplacianScheme(), and New().

Here is the caller graph for this function:

◆ famLaplacian() [1/2]

template<class Type>
virtual tmp< faMatrix< Type > > famLaplacian ( const edgeScalarField & ,
const GeometricField< Type, faPatchField, areaMesh > &  )
pure virtual

Implemented in gaussLaplacianScheme< Type >.

Referenced by famLaplacian().

Here is the caller graph for this function:

◆ famLaplacian() [2/2]

template<class Type>
tmp< faMatrix< Type > > famLaplacian ( const areaScalarField & gamma,
const GeometricField< Type, faPatchField, areaMesh > & vf )
virtual

Definition at line 89 of file faLaplacianScheme.C.

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

Here is the call graph for this function:

◆ facLaplacian() [1/3]

template<class Type>
virtual tmp< GeometricField< Type, faPatchField, areaMesh > > facLaplacian ( const GeometricField< Type, faPatchField, areaMesh > & )
pure virtual

Implemented in gaussLaplacianScheme< Type >.

Referenced by facLaplacian().

Here is the caller graph for this function:

◆ facLaplacian() [2/3]

template<class Type>
virtual tmp< GeometricField< Type, faPatchField, areaMesh > > facLaplacian ( const edgeScalarField & ,
const GeometricField< Type, faPatchField, areaMesh > &  )
pure virtual

◆ facLaplacian() [3/3]

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

Definition at line 101 of file faLaplacianScheme.C.

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

Here is the call graph for this function:

Member Data Documentation

◆ mesh_

template<class Type>
const faMesh& mesh_
protected

Definition at line 68 of file faLaplacianScheme.H.

Referenced by laplacianScheme(), laplacianScheme(), and mesh().

◆ tinterpGammaScheme_

template<class Type>
tmp<edgeInterpolationScheme<scalar> > tinterpGammaScheme_
protected

Definition at line 70 of file faLaplacianScheme.H.

Referenced by facLaplacian(), famLaplacian(), and laplacianScheme().

◆ tlnGradScheme_


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