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.
|
leastSquaresGrad | ( | const fvMesh & | mesh ) | [inline]
|
Construct from mesh.
Definition at line 77 of file leastSquaresGrad.H.
leastSquaresGrad | ( | const fvMesh & | mesh, |
Istream & | |||
) | [inline]
|
Construct from Istream.
Definition at line 83 of file leastSquaresGrad.H.
TypeName | ( | "leastSquares" | ) |
Runtime type information.
tmp< GeometricField <typename outerProduct<vector, Type>::type, fvPatchField, volMesh> > grad | ( | const GeometricField< Type, fvPatchField, volMesh > & | ) | const [virtual]
|
Calculate and return the grad of the given field.
Implements gradScheme< Type >.