Class with operator() which returns the weighting factors for the linear-upwind differencing scheme. Note that the weighting factors are not bounded between upwind and central-differencing, some downwind contribution is possible although the interpolate is limited to be between the upwind and downwind cell values. More...
Public Member Functions | |
linearUpwindWeight (const linearUpwindWeight &)=delete | |
No copy construct. More... | |
void | operator= (const linearUpwindWeight &)=delete |
No copy assignment. More... | |
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 linear-upwind differencing scheme. Note that the weighting factors are not bounded between upwind and central-differencing, 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 54 of file linearUpwind.H.
|
delete |
No copy construct.
|
inline |
Definition at line 71 of file linearUpwind.H.
|
delete |
No copy assignment.
|
inline |
Definition at line 75 of file linearUpwind.H.
References Foam::max(), Foam::min(), and Foam::stabilise().