Public Member Functions | Static Public Member Functions | List of all members
gaussGrad< Type > Class Template Reference

Basic second-order gradient scheme using face-interpolation and Gauss' theorem. More...

Inheritance diagram for gaussGrad< Type >:
Inheritance graph
[legend]
Collaboration diagram for gaussGrad< Type >:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("Gauss")
 
 gaussGrad (const faMesh &mesh)
 
 gaussGrad (const faMesh &mesh, Istream &is)
 
tmp< GeometricField< typename outerProduct< vector, Type >::type, faPatchField, areaMesh > > grad (const GeometricField< Type, faPatchField, areaMesh > &) const
 
- Public Member Functions inherited from gradScheme< Type >
 declareRunTimeSelectionTable (tmp, gradScheme, Istream,(const faMesh &mesh, Istream &schemeData),(mesh, schemeData))
 
 gradScheme (const faMesh &mesh)
 
virtual ~gradScheme ()
 
const faMeshmesh () const
 
- Public Member Functions inherited from refCount
constexpr refCount () noexcept
 
int count () const noexcept
 
bool unique () const noexcept
 
void operator++ () noexcept
 
void operator++ (int) noexcept
 
void operator-- () noexcept
 
void operator-- (int) noexcept
 

Static Public Member Functions

static void correctBoundaryConditions (const GeometricField< Type, faPatchField, areaMesh > &, GeometricField< typename outerProduct< vector, Type >::type, faPatchField, areaMesh > &)
 
- Static Public Member Functions inherited from gradScheme< Type >
static tmp< gradScheme< Type > > New (const faMesh &mesh, Istream &schemeData)
 

Detailed Description

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

Basic second-order gradient scheme using face-interpolation and Gauss' theorem.

Source files

Definition at line 56 of file gaussFaGrad.H.

Constructor & Destructor Documentation

◆ gaussGrad() [1/2]

gaussGrad ( const faMesh mesh)
inline

Definition at line 83 of file gaussFaGrad.H.

◆ gaussGrad() [2/2]

gaussGrad ( const faMesh mesh,
Istream is 
)
inline

Definition at line 90 of file gaussFaGrad.H.

References IOstream::eof(), gradScheme< Type >::mesh(), and edgeInterpolationScheme< Type >::New().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "Gauss"  )

◆ grad()

tmp< GeometricField <typename outerProduct<vector, Type>::type, faPatchField, areaMesh> > grad ( const GeometricField< Type, faPatchField, areaMesh > &  ) const
virtual

Implements gradScheme< Type >.

◆ correctBoundaryConditions()

void correctBoundaryConditions ( const GeometricField< Type, faPatchField, areaMesh > &  vsf,
GeometricField< typename outerProduct< vector, Type >::type, faPatchField, areaMesh > &  gGrad 
)
static

Definition at line 75 of file gaussFaGrad.C.

References GeometricField::boundaryField(), and forAll.

Referenced by makeFaGradScheme().

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: