Abstract base class for div schemes. More...
#include <finiteVolume/divScheme.H>
Abstract base class for div schemes.
Definition at line 65 of file divScheme.H.
Public Member Functions | |
virtual const word & | type () const =0 |
Runtime type information. | |
declareRunTimeSelectionTable (tmp, divScheme, Istream,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData)) | |
divScheme (const fvMesh &mesh) | |
Construct from mesh. | |
divScheme (const fvMesh &mesh, Istream &is) | |
Construct from mesh and Istream. | |
virtual | ~divScheme () |
const fvMesh & | mesh () const |
Return mesh reference. | |
virtual tmp< GeometricField < typename innerProduct < vector, Type >::type, fvPatchField, volMesh > > | fvcDiv (const GeometricField< Type, fvPatchField, volMesh > &)=0 |
![]() | |
refCount () | |
Construct null with zero count. | |
int | count () const |
Return the reference count. | |
bool | okToDelete () const |
Return true if the reference count is zero. | |
void | resetRefCount () |
Reset the reference count to zero. | |
void | operator++ () |
Increment the reference count. | |
void | operator++ (int) |
Increment the reference count. | |
void | operator-- () |
Decrement the reference count. | |
void | operator-- (int) |
Decrement the reference count. |
Static Public Member Functions | |
static tmp< divScheme< Type > > | New (const fvMesh &mesh, Istream &schemeData) |
Return a pointer to a new divScheme created on freestore. |
Protected Member Functions | |
divScheme (const divScheme &) | |
Disallow copy construct. | |
void | operator= (const divScheme &) |
Disallow default bitwise assignment. |
Protected Attributes | |
const fvMesh & | mesh_ |
tmp < surfaceInterpolationScheme < Type > > | tinterpScheme_ |
Construct from mesh.
Definition at line 108 of file divScheme.H.
Construct from mesh and Istream.
Definition at line 115 of file divScheme.H.
|
virtual |
Definition at line 95 of file divScheme.C.
|
protected |
Disallow default bitwise assignment.
|
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, FatalIOErrorIn, Foam::Info, and mesh.
|
inline |
Return mesh reference.
Definition at line 140 of file divScheme.H.
References divScheme< Type >::mesh_.
|
pure virtual |
Implemented in gaussDivScheme< Type >.
Referenced by Foam::fvc::div().
|
protected |
Definition at line 74 of file divScheme.H.
Referenced by divScheme< Type >::mesh().
|
protected |
Definition at line 75 of file divScheme.H.