Abstract base class for div schemes. More...
#include <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 ()=default |
| Destructor. | |
| const fvMesh & | mesh () const |
| Return mesh reference. | |
| virtual tmp< GeometricField< typename innerProduct< vector, Type >::type, fvPatchField, volMesh > > | fvcDiv (const GeometricField< Type, fvPatchField, volMesh > &)=0 |
| Public Member Functions inherited from refCount | |
| constexpr | refCount () noexcept |
| Default construct, initializing count to 0. | |
| int | use_count () const noexcept |
| Return the current reference count. | |
| bool | unique () const noexcept |
| Return true if the reference count is zero. | |
| void | operator++ () noexcept |
| Increment the reference count. | |
| void | operator++ (int) noexcept |
| Increment the reference count. | |
| void | operator-- () noexcept |
| Decrement the reference count. | |
| void | operator-- (int) noexcept |
| 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 &)=delete | |
| No copy construct. | |
| void | operator= (const divScheme &)=delete |
| No copy assignment. | |
Protected Attributes | |
| const fvMesh & | mesh_ |
| tmp< surfaceInterpolationScheme< Type > > | tinterpScheme_ |
Abstract base class for div schemes.
Definition at line 65 of file divScheme.H.
|
protecteddelete |
No copy construct.
References divScheme().
Referenced by declareRunTimeSelectionTable(), divScheme(), fusedGaussDivScheme< Type >::fusedGaussDivScheme(), fusedGaussDivScheme< Type >::fusedGaussDivScheme(), gaussDivScheme< Type >::gaussDivScheme(), gaussDivScheme< Type >::gaussDivScheme(), and operator=().


|
inline |
Construct from mesh.
Definition at line 116 of file divScheme.H.
References mesh(), mesh_, and tinterpScheme_.

Construct from mesh and Istream.
Definition at line 125 of file divScheme.H.
References IOstream::eof(), mesh(), mesh_, and tinterpScheme_.

|
virtualdefault |
Destructor.
|
protecteddelete |
|
pure virtual |
Runtime type information.
|
static |
Return a pointer to a new divScheme created on freestore.
Definition at line 43 of file divScheme.C.
References 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 170 of file divScheme.H.
References mesh_.
Referenced by declareRunTimeSelectionTable(), divScheme(), divScheme(), fusedGaussDivScheme< Type >::fusedGaussDivScheme(), fusedGaussDivScheme< Type >::fusedGaussDivScheme(), fusedGaussDivScheme< Type >::fvcDiv(), gaussDivScheme< Type >::gaussDivScheme(), gaussDivScheme< Type >::gaussDivScheme(), and New().

|
pure virtual |
Implemented in fusedGaussDivScheme< Type >, and gaussDivScheme< Type >.
|
protected |
Definition at line 73 of file divScheme.H.
Referenced by divScheme(), divScheme(), gaussDivScheme< Type >::fvcDiv(), and mesh().
|
protected |
Definition at line 75 of file divScheme.H.
Referenced by divScheme(), divScheme(), fusedGaussDivScheme< Type >::fvcDiv(), and gaussDivScheme< Type >::fvcDiv().