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.
| |
Static Public Member Functions | |
| static tmp< gradScheme< Type > > | New (const fvMesh &mesh, Istream &schemeData) |
| Return a pointer to a new gradScheme created on freestore.
| |
| gradScheme | ( | const fvMesh & | mesh ) | [inline]
|
Construct from mesh.
Definition at line 100 of file gradScheme.H.
| ~gradScheme | ( | ) | [virtual]
|
Definition at line 94 of file gradScheme.C.
| virtual const word& type | ( | ) | const [pure virtual]
|
Runtime type information.
| declareRunTimeSelectionTable | ( | tmp | , |
| gradScheme< Type > | , | ||
| Istream | , | ||
| (const fvMesh &mesh, Istream &schemeData) | , | ||
| (mesh, schemeData) | |||
| ) |
| tmp< gradScheme< Type > > New | ( | const fvMesh & | mesh, |
| Istream & | 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().
| const fvMesh& mesh | ( | ) | const [inline]
|
Return mesh reference.
Definition at line 124 of file gradScheme.H.
Referenced by gaussGrad< Type >::gaussGrad().
| virtual tmp< GeometricField <typename outerProduct<vector, Type>::type, fvPatchField, volMesh> > grad | ( | const GeometricField< Type, fvPatchField, volMesh > & | ) | const [pure virtual]
|
Calculate and return the grad of the given field.
Implemented in extendedLeastSquaresGrad< Type >, fourthGrad< Type >, gaussGrad< Type >, leastSquaresGrad< Type >, cellLimitedGrad< Type >, cellMDLimitedGrad< Type >, faceLimitedGrad< Type >, and faceMDLimitedGrad< Type >.
Referenced by Foam::fvc::grad().