Abstract base class for finite area calculus div schemes. More...
Public Member Functions | |
declareRunTimeSelectionTable (tmp, divScheme, Istream,(const faMesh &mesh, Istream &schemeData),(mesh, schemeData)) | |
divScheme (const faMesh &mesh) | |
Construct from mesh. More... | |
divScheme (const faMesh &mesh, Istream &is) | |
Construct from mesh and Istream. More... | |
virtual | ~divScheme () |
Destructor. More... | |
const faMesh & | mesh () const |
Return mesh reference. More... | |
virtual tmp< GeometricField< typename innerProduct< vector, Type >::type, faPatchField, areaMesh > > | facDiv (const GeometricField< Type, faPatchField, areaMesh > &)=0 |
Public Member Functions inherited from refCount | |
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 faMesh &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 faMesh & | mesh_ |
tmp< edgeInterpolationScheme< Type > > | tinterpScheme_ |
Abstract base class for finite area calculus div schemes.
Definition at line 67 of file faDivScheme.H.
Construct from mesh.
Definition at line 106 of file faDivScheme.H.
Construct from mesh and Istream.
Definition at line 113 of file faDivScheme.H.
|
virtual |
Destructor.
Definition at line 90 of file faDivScheme.C.
|
protecteddelete |
No copy assignment.
declareRunTimeSelectionTable | ( | tmp | , |
divScheme< Type > | , | ||
Istream | , | ||
(const faMesh &mesh, Istream &schemeData) | , | ||
(mesh, schemeData) | |||
) |
Return a pointer to a new divScheme created on freestore.
Definition at line 46 of file faDivScheme.C.
References Foam::endl(), IOstream::eof(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, FatalIOErrorInLookup, InfoInFunction, mesh, and Foam::nl.
|
inline |
Return mesh reference.
Definition at line 137 of file faDivScheme.H.
References divScheme< Type >::mesh_.
|
pure virtual |
Implemented in gaussDivScheme< Type >.
Referenced by Foam::fac::div(), and Foam::fac::ndiv().
|
protected |
Definition at line 76 of file faDivScheme.H.
Referenced by divScheme< Type >::mesh().
|
protected |
Definition at line 77 of file faDivScheme.H.