Abstract base class for div schemes. More...
Public Member Functions | |
virtual const word & | type () const =0 |
Runtime type information. More... | |
declareRunTimeSelectionTable (tmp, divScheme, Istream,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData)) | |
divScheme (const fvMesh &mesh) | |
Construct from mesh. More... | |
divScheme (const fvMesh &mesh, Istream &is) | |
Construct from mesh and Istream. More... | |
divScheme (const divScheme &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~divScheme () |
Destructor. More... | |
const fvMesh & | mesh () const |
Return mesh reference. More... | |
virtual tmp< GeometricField< typename innerProduct< vector, Type >::type, fvPatchField, volMesh > > | fvcDiv (const GeometricField< Type, fvPatchField, volMesh > &)=0 |
void | operator= (const divScheme &)=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... | |
Static Public Member Functions | |
static tmp< divScheme< Type > > | New (const fvMesh &mesh, Istream &schemeData) |
Return a pointer to a new divScheme created on freestore. More... | |
Protected Attributes | |
const fvMesh & | mesh_ |
tmp< surfaceInterpolationScheme< Type > > | tinterpScheme_ |
Additional Inherited Members | |
Protected Member Functions inherited from refCount | |
refCount () | |
Construct null initialising count to 0. More... | |
Abstract base class for div schemes.
Definition at line 64 of file divScheme.H.
Construct from mesh.
Definition at line 98 of file divScheme.H.
Referenced by divScheme< Type >::divScheme().
Construct from mesh and Istream.
Definition at line 105 of file divScheme.H.
References divScheme< Type >::divScheme(), divScheme< Type >::New(), and divScheme< Type >::~divScheme().
|
virtual |
Destructor.
Definition at line 92 of file divScheme.C.
Referenced by divScheme< Type >::divScheme().
|
pure virtual |
Runtime type information.
declareRunTimeSelectionTable | ( | tmp | , |
divScheme< Type > | , | ||
Istream | , | ||
(const fvMesh &mesh, Istream &schemeData) | , | ||
(mesh, schemeData) | |||
) |
Return a pointer to a new divScheme created on freestore.
Definition at line 47 of file divScheme.C.
References Foam::endl(), IOstream::eof(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, InfoInFunction, mesh, and Foam::nl.
Referenced by Foam::fvc::div(), and divScheme< Type >::divScheme().
|
inline |
Return mesh reference.
Definition at line 132 of file divScheme.H.
References divScheme< Type >::fvcDiv(), divScheme< Type >::mesh_, and divScheme< Type >::operator=().
|
pure virtual |
Implemented in gaussDivScheme< Type >.
Referenced by divScheme< Type >::mesh().
|
delete |
Disallow default bitwise assignment.
Referenced by divScheme< Type >::mesh().
|
protected |
Definition at line 73 of file divScheme.H.
Referenced by divScheme< Type >::mesh().
|
protected |
Definition at line 74 of file divScheme.H.