Loading...
Searching...
No Matches
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...

#include <Gamma.H>

Inheritance diagram for GammaWeight:

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 50 of file Gamma.H.

Constructor & Destructor Documentation

◆ GammaWeight()

GammaWeight ( Istream & is)
inline

Definition at line 62 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 80 of file Gamma.H.

References Foam::clamp(), Foam::lerp(), Foam::limiter(), Foam::mag(), Foam::normalised(), and Foam::stabilise().

Referenced by faNVDscheme< scalar, GammaWeight >::faNVDscheme().

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 file:
  • src/finiteArea/interpolation/edgeInterpolation/schemes/Gamma/Gamma.H