Basic second-order gradient scheme using face-interpolation and Gauss' theorem. More...
#include <finiteVolume/gaussGrad.H>
Basic second-order gradient scheme using face-interpolation and Gauss' theorem.
Definition at line 58 of file gaussGrad.H.
Inheritance diagram for gaussGrad< Type >:
Collaboration diagram for gaussGrad< Type >:Public Member Functions | |
| TypeName ("Gauss") | |
| Runtime type information. | |
| gaussGrad (const fvMesh &mesh) | |
| Construct from mesh. | |
| gaussGrad (const fvMesh &mesh, Istream &is) | |
| Construct from Istream. | |
| tmp< GeometricField< typename outerProduct< vector, Type > ::type, fvPatchField, volMesh > > | grad (const GeometricField< Type, fvPatchField, volMesh > &) const |
| Return the gradient of the given field calculated. | |
Public Member Functions inherited from gradScheme< Type > | |
| 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. | |
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< GeometricField < typename outerProduct < vector, Type >::type, fvPatchField, volMesh > > | grad (const GeometricField< Type, fvsPatchField, surfaceMesh > &) |
| Return the gradient of the given field. | |
| static void | correctBoundaryConditions (const GeometricField< Type, fvPatchField, volMesh > &, GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > &) |
| Correct the boundary values of the gradient using the patchField. | |
Static Public Member Functions inherited from gradScheme< Type > | |
| static tmp< gradScheme< Type > > | New (const fvMesh &mesh, Istream &schemeData) |
| Return a pointer to a new gradScheme created on freestore. | |
Construct from mesh.
Definition at line 85 of file gaussGrad.H.
Construct from Istream.
Definition at line 92 of file gaussGrad.H.
References IOstream::eof(), gradScheme< Type >::mesh(), and gradScheme< Type >::New().
| TypeName | ( | "Gauss" | ) |
Runtime type information.
|
static |
Return the gradient of the given field.
calculated using Gauss' theorem on the given surface field
|
virtual |
Return the gradient of the given field calculated.
using Gauss' theorem on the interpolated field
Implements gradScheme< Type >.
|
static |
Correct the boundary values of the gradient using the patchField.
snGrad functions
Definition at line 150 of file gaussGrad.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), forAll, fvMesh::magSf(), DimensionedField< Type, GeoMesh >::mesh(), patchi, and fvMesh::Sf().
Referenced by faceLimitedGrad< Type >::grad(), cellLimitedGrad< Type >::grad(), faceMDLimitedGrad< Type >::grad(), cellMDLimitedGrad< Type >::grad(), and Foam::fv::makeFvGradScheme().