Abstract base class for gradient schemes. More...
#include <finiteVolume/gradScheme.H>
Abstract base class for gradient schemes.
Definition at line 61 of file gradScheme.H.
Inheritance diagram for gradScheme< Type >:
Collaboration diagram for gradScheme< Type >:Public Member Functions | |
| virtual const word & | type () const =0 |
| Runtime type information. | |
| declareRunTimeSelectionTable (tmp, gradScheme, Istream,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData)) | |
| gradScheme (const fvMesh &mesh) | |
| Construct from mesh. | |
| virtual | ~gradScheme () |
| const fvMesh & | mesh () const |
| Return mesh reference. | |
| virtual tmp< GeometricField < typename outerProduct < vector, Type >::type, fvPatchField, volMesh > > | grad (const GeometricField< Type, fvPatchField, volMesh > &) const =0 |
| Calculate and return the grad of the given field. | |
Public Member Functions inherited from refCount | |
| 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< gradScheme< Type > > | New (const fvMesh &mesh, Istream &schemeData) |
| Return a pointer to a new gradScheme created on freestore. | |
|
inline |
Construct from mesh.
Definition at line 100 of file gradScheme.H.
|
virtual |
Definition at line 94 of file gradScheme.C.
|
pure virtual |
Runtime type information.
| declareRunTimeSelectionTable | ( | tmp | , |
| gradScheme< Type > | , | ||
| Istream | , | ||
| (const fvMesh &mesh, Istream &schemeData) | , | ||
| (mesh, schemeData) | |||
| ) |
|
static |
Return a pointer to a new gradScheme created on freestore.
Definition at line 46 of file gradScheme.C.
References Foam::endl(), IOstream::eof(), Foam::exit(), Foam::FatalIOError, FatalIOErrorIn, Foam::Info, and mesh.
Referenced by gaussGrad< Type >::gaussGrad().
|
inline |
Return mesh reference.
Definition at line 124 of file gradScheme.H.
Referenced by gaussGrad< Type >::gaussGrad().
|
pure virtual |
Calculate and return the grad of the given field.
Implemented in gaussGrad< Type >, cellLimitedGrad< Type >, faceLimitedGrad< Type >, faceMDLimitedGrad< Type >, cellMDLimitedGrad< Type >, extendedLeastSquaresGrad< Type >, leastSquaresGrad< Type >, and fourthGrad< Type >.
Referenced by Foam::fvc::grad().