Class with operator() which returns the weighting factors for the linearupwind differencing scheme. Note that the weighting factors are not bounded between upwind and centraldifferencing, some downwind contribution is possible although the interpolate is limited to be between the upwind and downwind cell values. More...
Public Member Functions  
linearUpwindWeight (Istream &)  
scalar  weight (scalar cdWeight, scalar faceFlux, scalar phiP, scalar phiN, const vector &gradcP, const vector &gradcN, const vector &d) const 
Class with operator() which returns the weighting factors for the linearupwind differencing scheme. Note that the weighting factors are not bounded between upwind and centraldifferencing, some downwind contribution is possible although the interpolate is limited to be between the upwind and downwind cell values.
Used in conjunction with the template class NVDscheme although this scheme is not NVD.
Definition at line 58 of file linearUpwind.H.

inline 
Definition at line 63 of file linearUpwind.H.

inline 
Definition at line 67 of file linearUpwind.H.
References Foam::max(), Foam::min(), and Foam::stabilise().