89 phif = phiP + (1 - cdWeight)*(d & gradcP);
93 phif = phiN - cdWeight*(d & gradcN);
98 phif =
min(phif,
max(phiN, phiP));
99 phif =
max(phif,
min(phiN, phiP));
101 return (phif - phiN)/
stabilise(phiP - phiN, SMALL);
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
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
linearUpwindWeight(const linearUpwindWeight &)=delete
No copy construct.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
dimensionedScalar stabilise(const dimensionedScalar &x, const dimensionedScalar &y)