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... | |
virtual | ~laplacianScheme () |
Destructor. More... | |
const fvMesh & | mesh () 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 > &) |
![]() | |
refCount () | |
Construct null with zero count. More... | |
int | count () const |
Return the reference count. More... | |
bool | okToDelete () const |
Return true if the reference count is zero. More... | |
void | resetRefCount () |
Reset the reference count to 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... | |
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 Member Functions | |
laplacianScheme (const laplacianScheme &) | |
Disallow copy construct. More... | |
void | operator= (const laplacianScheme &) |
Disallow default bitwise assignment. More... | |
Protected Attributes | |
const fvMesh & | mesh_ |
tmp< surfaceInterpolationScheme< GType > > | tinterpGammaScheme_ |
tmp< snGradScheme< Type > > | tsnGradScheme_ |
Abstract base class for laplacian schemes.
Definition at line 65 of file laplacianScheme.H.
|
protected |
Disallow copy construct.
|
inline |
Construct from mesh.
Definition at line 109 of file laplacianScheme.H.
|
inline |
Construct from mesh and Istream.
Definition at line 117 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 136 of file laplacianScheme.H.
|
virtual |
Destructor.
Definition at line 91 of file laplacianScheme.C.
|
protected |
Disallow default bitwise assignment.
|
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 45 of file laplacianScheme.C.
References Foam::endl(), IOstream::eof(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, Foam::Info, mesh, and Foam::nl.
Referenced by Foam::fvc::laplacian(), and Foam::fvm::laplacian().
|
inline |
Return mesh reference.
Definition at line 165 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 100 of file laplacianScheme.C.
References Foam::interpolate().
|
pure virtual |
Implemented in gaussLaplacianScheme< Type, GType >.
|
pure virtual |
Implemented in gaussLaplacianScheme< Type, GType >.
|
virtual |
Definition at line 112 of file laplacianScheme.C.
References Foam::interpolate().
|
protected |
Definition at line 74 of file laplacianScheme.H.
Referenced by laplacianScheme< Type, GType >::mesh().
|
protected |
Definition at line 75 of file laplacianScheme.H.
Referenced by laplacianScheme< Type, GType >::laplacianScheme().
|
protected |
Definition at line 76 of file laplacianScheme.H.
Referenced by laplacianScheme< Type, GType >::laplacianScheme().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.