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... | |
virtual | ~divScheme ()=default |
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 |
![]() | |
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< divScheme< Type > > | New (const fvMesh &mesh, Istream &schemeData) |
Return a pointer to a new divScheme created on freestore. More... | |
Protected Member Functions | |
divScheme (const divScheme &)=delete | |
No copy construct. More... | |
void | operator= (const divScheme &)=delete |
No copy assignment. More... | |
Protected Attributes | |
const fvMesh & | mesh_ |
tmp< surfaceInterpolationScheme< Type > > | tinterpScheme_ |
Abstract base class for div schemes.
Definition at line 69 of file divScheme.H.
Construct from mesh.
Definition at line 112 of file divScheme.H.
Construct from mesh and Istream.
Definition at line 119 of file divScheme.H.
|
virtualdefault |
Destructor.
|
protecteddelete |
No copy 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 50 of file divScheme.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), IOstream::eof(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, InfoInFunction, mesh, and Foam::nl.
Referenced by Foam::fvc::div().
|
inline |
Return mesh reference.
Definition at line 143 of file divScheme.H.
References divScheme< Type >::mesh_.
|
pure virtual |
Implemented in gaussDivScheme< Type >.
|
protected |
Definition at line 78 of file divScheme.H.
Referenced by divScheme< Type >::mesh().
|
protected |
Definition at line 79 of file divScheme.H.