Loading...
Searching...
No Matches
linearUpwindWeight Class Reference

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...

#include <linearUpwind.H>

Public Member Functions

 linearUpwindWeight (const linearUpwindWeight &)=delete
 No copy construct.
void operator= (const linearUpwindWeight &)=delete
 No copy assignment.
 linearUpwindWeight (Istream &)
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 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.

Source files

Definition at line 54 of file linearUpwind.H.

Constructor & Destructor Documentation

◆ linearUpwindWeight() [1/2]

linearUpwindWeight ( const linearUpwindWeight & )
delete

No copy construct.

References linearUpwindWeight().

Referenced by linearUpwindWeight(), and operator=().

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

◆ linearUpwindWeight() [2/2]

linearUpwindWeight ( Istream & )
inline

Definition at line 71 of file linearUpwind.H.

Member Function Documentation

◆ operator=()

void operator= ( const linearUpwindWeight & )
delete

No copy assignment.

References linearUpwindWeight().

Here is the call graph for this function:

◆ 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 74 of file linearUpwind.H.

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