Abstract base class for finite area calculus laplacian schemes. More...
Public Member Functions | |
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 faMesh & | mesh () 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 > &) |
![]() | |
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 > > | New (const faMesh &mesh, Istream &schemeData) |
Return a pointer to a new laplacianScheme created on freestore. More... | |
Protected Member Functions | |
laplacianScheme (const laplacianScheme &)=delete | |
No copy construct. More... | |
void | operator= (const laplacianScheme &)=delete |
No copy assignment. More... | |
Protected Attributes | |
const faMesh & | mesh_ |
tmp< edgeInterpolationScheme< scalar > > | tinterpGammaScheme_ |
tmp< lnGradScheme< Type > > | tlnGradScheme_ |
Abstract base class for finite area calculus laplacian schemes.
Definition at line 68 of file faLaplacianScheme.H.
|
protecteddelete |
No copy construct.
|
inline |
Construct from mesh.
Definition at line 108 of file faLaplacianScheme.H.
|
inline |
Construct from mesh and Istream.
Definition at line 116 of file faLaplacianScheme.H.
References IOstream::eof(), laplacianScheme< Type >::mesh(), lnGradScheme< Type >::New(), edgeInterpolationScheme< Type >::New(), laplacianScheme< Type >::tinterpGammaScheme_, and laplacianScheme< Type >::tlnGradScheme_.
|
virtual |
Destructor.
Definition at line 90 of file faLaplacianScheme.C.
|
protecteddelete |
No copy assignment.
declareRunTimeSelectionTable | ( | tmp | , |
laplacianScheme< Type > | , | ||
Istream | , | ||
(const faMesh &mesh, Istream &schemeData) | , | ||
(mesh, schemeData) | |||
) |
|
static |
Return a pointer to a new laplacianScheme created on freestore.
Definition at line 47 of file faLaplacianScheme.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), IOstream::eof(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, FatalIOErrorInLookup, InfoInFunction, mesh, and Foam::nl.
Referenced by Foam::fac::laplacian(), and Foam::fam::laplacian().
|
inline |
Return mesh reference.
Definition at line 166 of file faLaplacianScheme.H.
References laplacianScheme< Type >::mesh_.
Referenced by laplacianScheme< Type >::laplacianScheme().
|
pure virtual |
Implemented in gaussLaplacianScheme< Type >.
|
virtual |
Definition at line 99 of file faLaplacianScheme.C.
References gamma, and Foam::interpolate().
|
pure virtual |
Implemented in gaussLaplacianScheme< Type >.
|
pure virtual |
Implemented in gaussLaplacianScheme< Type >.
|
virtual |
Definition at line 111 of file faLaplacianScheme.C.
References gamma, and Foam::interpolate().
|
protected |
Definition at line 77 of file faLaplacianScheme.H.
Referenced by laplacianScheme< Type >::mesh().
|
protected |
Definition at line 78 of file faLaplacianScheme.H.
Referenced by laplacianScheme< Type >::laplacianScheme().
|
protected |
Definition at line 79 of file faLaplacianScheme.H.
Referenced by laplacianScheme< Type >::laplacianScheme().