GammaWeight Class Reference

Class with operator() which returns the weighting factors for the Gamma differencing scheme. Used in conjunction with the template class NVDscheme. More...

Public Member Functions

 GammaWeight (Istream &is)
 
scalar weight (scalar cdWeight, scalar faceFlux, scalar phiP, scalar phiN, const vector &gradcP, const vector &gradcN, const vector &d) const
 

Detailed Description

Class with operator() which returns the weighting factors for the Gamma differencing scheme. Used in conjunction with the template class NVDscheme.

Source files

Definition at line 54 of file Gamma.H.

Constructor & Destructor Documentation

◆ GammaWeight()

GammaWeight ( Istream is)
inline

Definition at line 60 of file Gamma.H.

References Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, and Foam::max().

Here is the call graph for this function:

Member Function Documentation

◆ weight()

scalar weight ( scalar  cdWeight,
scalar  faceFlux,
scalar  phiP,
scalar  phiN,
const vector gradcP,
const vector gradcN,
const vector d 
) const
inline

Definition at line 79 of file Gamma.H.

References Foam::limiter(), Foam::mag(), Foam::max(), Foam::min(), and Foam::stabilise().

Here is the call graph for this function:

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