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 |
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.
~divScheme | ( | ) | [virtual]
|
Definition at line 95 of file divScheme.C.
void operator= | ( | const divScheme< Type > & | ) | [protected]
|
Disallow default bitwise assignment.
virtual const word& type | ( | ) | const [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.
const fvMesh& mesh | ( | ) | const [inline]
|
Return mesh reference.
Definition at line 140 of file divScheme.H.
References divScheme< Type >::mesh_.
virtual tmp< GeometricField <typename innerProduct<vector, Type>::type, fvPatchField, volMesh> > fvcDiv | ( | const GeometricField< Type, fvPatchField, volMesh > & | ) | [pure virtual]
|
Implemented in gaussDivScheme< Type >.
Referenced by Foam::fvc::div().
Definition at line 74 of file divScheme.H.
Referenced by divScheme< Type >::mesh().
tmp<surfaceInterpolationScheme<Type> > tinterpScheme_ [protected]
|
Definition at line 75 of file divScheme.H.