Abstract base class for gradient schemes. More...
Public Member Functions | |
virtual const word & | type () const =0 |
declareRunTimeSelectionTable (tmp, gradScheme, Istream,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData)) | |
gradScheme (const fvMesh &mesh) | |
virtual | ~gradScheme ()=default |
const fvMesh & | mesh () const |
virtual tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > > | calcGrad (const GeometricField< Type, fvPatchField, volMesh > &, const word &name) const =0 |
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > > | grad (const GeometricField< Type, fvPatchField, volMesh > &, const word &name) const |
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > > | grad (const GeometricField< Type, fvPatchField, volMesh > &) const |
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > > | grad (const tmp< GeometricField< Type, fvPatchField, volMesh >> &) const |
![]() | |
constexpr | refCount () noexcept |
int | count () const noexcept |
bool | unique () const noexcept |
void | operator++ () noexcept |
void | operator++ (int) noexcept |
void | operator-- () noexcept |
void | operator-- (int) noexcept |
Static Public Member Functions | |
static tmp< gradScheme< Type > > | New (const fvMesh &mesh, Istream &schemeData) |
Abstract base class for gradient schemes.
Definition at line 59 of file gradScheme.H.
|
inline |
Definition at line 99 of file gradScheme.H.
|
virtualdefault |
|
pure virtual |
declareRunTimeSelectionTable | ( | tmp | , |
gradScheme< Type > | , | ||
Istream | , | ||
(const fvMesh &mesh, Istream &schemeData) | , | ||
(mesh, schemeData) | |||
) |
|
static |
Definition at line 30 of file gradScheme.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), IOstream::eof(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, FatalIOErrorInLookup, InfoInFunction, and mesh.
Referenced by Foam::fvc::grad().
|
inline |
Definition at line 122 of file gradScheme.H.
Referenced by gaussGrad< Type >::gaussGrad().
|
pure virtual |
tmp< GeometricField <typename outerProduct<vector, Type>::type, fvPatchField, volMesh> > grad | ( | const GeometricField< Type, fvPatchField, volMesh > & | , |
const word & | name | ||
) | const |
tmp< GeometricField <typename outerProduct<vector, Type>::type, fvPatchField, volMesh> > grad | ( | const GeometricField< Type, fvPatchField, volMesh > & | ) | const |
tmp< GeometricField <typename outerProduct<vector, Type>::type, fvPatchField, volMesh> > grad | ( | const tmp< GeometricField< Type, fvPatchField, volMesh >> & | ) | const |
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.