Abstract base class for laplacian schemes. More...
Public Member Functions | |
virtual const word & | type () 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... | |
laplacianScheme (const laplacianScheme &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~laplacianScheme () |
Destructor. More... | |
const fvMesh & | mesh () const |
Return mesh reference. More... | |
virtual tmp< fvMatrix< Type > > | fvmLaplacian (const SurfaceField< GType > &, const VolField< Type > &)=0 |
virtual tmp< fvMatrix< Type > > | fvmLaplacian (const VolField< GType > &, const VolField< Type > &) |
virtual tmp< VolField< Type > > | fvcLaplacian (const VolField< Type > &)=0 |
virtual tmp< VolField< Type > > | fvcLaplacian (const SurfaceField< GType > &, const VolField< Type > &)=0 |
virtual tmp< VolField< Type > > | fvcLaplacian (const VolField< GType > &, const VolField< Type > &) |
void | operator= (const laplacianScheme &)=delete |
Disallow default bitwise assignment. More... | |
Public Member Functions inherited from refCount | |
int | count () const |
Return the current reference count. More... | |
bool | unique () const |
Return true if the reference count is zero. More... | |
void | operator++ () |
Increment the reference count. More... | |
void | operator++ (int) |
Increment the reference count. More... | |
void | operator-- () |
Decrement the reference count. More... | |
void | operator-- (int) |
Decrement the reference count. More... | |
void | operator= (const refCount &)=delete |
Disallow bitwise assignment. 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 fvMesh & | mesh_ |
tmp< surfaceInterpolationScheme< GType > > | tinterpGammaScheme_ |
tmp< snGradScheme< Type > > | tsnGradScheme_ |
Additional Inherited Members | |
Protected Member Functions inherited from refCount | |
refCount () | |
Construct null initialising count to 0. More... | |
refCount (const refCount &)=delete | |
Disallow copy. More... | |
Abstract base class for laplacian schemes.
Definition at line 65 of file laplacianScheme.H.
|
inline |
Construct from mesh.
Definition at line 102 of file laplacianScheme.H.
|
inline |
Construct from mesh and Istream.
Definition at line 110 of file laplacianScheme.H.
References laplacianScheme< Type, GType >::mesh(), snGradScheme< Type >::New(), surfaceInterpolationScheme< Type >::New(), laplacianScheme< Type, GType >::tinterpGammaScheme_, and laplacianScheme< Type, GType >::tsnGradScheme_.
|
inline |
Construct from mesh, interpolation and snGradScheme schemes.
Definition at line 128 of file laplacianScheme.H.
|
delete |
Disallow default bitwise copy construction.
|
virtual |
Destructor.
Definition at line 89 of file laplacianScheme.C.
|
pure virtual |
Runtime type information.
declareRunTimeSelectionTable | ( | tmp | , |
laplacianScheme< Type, GType > | , | ||
Istream | , | ||
(const fvMesh &mesh, Istream &schemeData) | , | ||
(mesh, schemeData) | |||
) |
|
static |
Return a pointer to a new laplacianScheme created on freestore.
Definition at line 44 of file laplacianScheme.C.
References Foam::endl(), IOstream::eof(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, InfoInFunction, and Foam::nl.
Referenced by Foam::fvm::laplacian(), and Foam::fvc::laplacian().
|
inline |
Return mesh reference.
Definition at line 161 of file laplacianScheme.H.
References laplacianScheme< Type, GType >::mesh_.
Referenced by laplacianScheme< Type, GType >::laplacianScheme().
|
pure virtual |
Implemented in gaussLaplacianScheme< Type, GType >.
|
virtual |
Definition at line 97 of file laplacianScheme.C.
References Foam::fvc::interpolate().
Implemented in gaussLaplacianScheme< Type, GType >.
|
pure virtual |
Implemented in gaussLaplacianScheme< Type, GType >.
|
virtual |
Definition at line 109 of file laplacianScheme.C.
References Foam::fvc::interpolate().
|
delete |
Disallow default bitwise assignment.
|
protected |
Definition at line 74 of file laplacianScheme.H.
Referenced by laplacianScheme< Type, GType >::mesh().
|
protected |
Definition at line 76 of file laplacianScheme.H.
Referenced by laplacianScheme< Type, GType >::laplacianScheme().
|
protected |
Definition at line 78 of file laplacianScheme.H.
Referenced by laplacianScheme< Type, GType >::laplacianScheme().