OpenFOAM logo
Open Source CFD Toolkit

gaussGrad Class Template Reference

Inheritance diagram for gaussGrad:

Inheritance graph
[legend]
Collaboration diagram for gaussGrad:

Collaboration graph
[legend]
List of all members.

template<class Type>
class Foam::fv::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.

Static Public Member Functions

tmp< GeometricField< typename
outerProduct< vector, Type
>::type, fvPatchField, volMesh > > 
grad (const GeometricField< Type, fvPatchField, surfaceMesh > &)
 Return the gradient of the given field.
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.

Constructor & Destructor Documentation

gaussGrad const fvMesh mesh  )  [inline]
 

Construct from mesh.

Definition at line 93 of file gaussGrad.H.

References IOstream::eof(), and mesh.

Here is the call graph for this function:

gaussGrad const fvMesh mesh,
Istream is
[inline]
 

Construct from Istream.

Definition at line 100 of file gaussGrad.H.


Member Function Documentation

void correctBoundaryConditions const GeometricField< Type, fvPatchField, volMesh > &  ,
GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > & 
[static]
 

Correct the boundary values of the gradient using the patchField.

snGrad functions

tmp< GeometricField <typename outerProduct<vector, Type>::type, fvPatchField, volMesh> > grad const GeometricField< Type, fvPatchField, volMesh > &   )  const [virtual]
 

Return the gradient of the given field calculated.

using Gauss' theorem on the interpolated field

Implements gradScheme.

tmp< GeometricField <typename outerProduct<vector, Type>::type, fvPatchField, volMesh> > grad const GeometricField< Type, fvPatchField, surfaceMesh > &   )  [static]
 

Return the gradient of the given field.

calculated using Gauss' theorem on the given surface field

TypeName "Gauss"   ) 
 

Runtime type information.


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org