Second-order gradient scheme using least-squares. More...
#include <finiteVolume/leastSquaresGrad.H>
Second-order gradient scheme using least-squares.
Definition at line 55 of file leastSquaresGrad.H.
Public Member Functions | |
TypeName ("leastSquares") | |
Runtime type information. | |
leastSquaresGrad (const fvMesh &mesh) | |
Construct from mesh. | |
leastSquaresGrad (const fvMesh &mesh, Istream &) | |
Construct from Istream. | |
tmp< GeometricField< typename outerProduct< vector, Type > ::type, fvPatchField, volMesh > > | grad (const GeometricField< Type, fvPatchField, volMesh > &) const |
Calculate and return the grad of the given field. | |
![]() | |
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. | |
![]() | |
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. |
Additional Inherited Members | |
![]() | |
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 77 of file leastSquaresGrad.H.
|
inline |
Construct from Istream.
Definition at line 83 of file leastSquaresGrad.H.
TypeName | ( | "leastSquares" | ) |
Runtime type information.
|
virtual |
Calculate and return the grad of the given field.
Implements gradScheme< Type >.