OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

gaussGrad Class Template Reference

Inheritance diagram for gaussGrad:

Inheritance graph
[legend]
Collaboration diagram for gaussGrad:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class Type>
class Foam::fv::gaussGrad< Type >

Definition at line 66 of file gaussGrad.H.


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

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.

Constructor & Destructor Documentation

gaussGrad ( const fvMesh &  mesh  )  [inline]

Construct from mesh.

Definition at line 93 of file gaussGrad.H.

References IOstream::eof().

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

TypeName ( "Gauss"   ) 

Runtime type information.

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

Return the gradient of the given field.

calculated using Gauss' theorem on the given surface field

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.

static 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


The documentation for this class was generated from the following file:
  • src/finiteVolume/finiteVolume/gradSchemes/gaussGrad/gaussGrad.H
Copyright © 2000-2007 OpenCFD Ltd