49 #ifndef filteredLinear_H 50 #define filteredLinear_H 63 template<
class LimiterFunc>
76 const scalar cdWeight,
77 const scalar faceFlux,
78 const typename LimiterFunc::phiType& phiP,
79 const typename LimiterFunc::phiType& phiN,
80 const typename LimiterFunc::gradPhiType& gradcP,
81 const typename LimiterFunc::gradPhiType& gradcN,
85 scalar df = phiN - phiP;
87 scalar dcP = d & gradcP;
88 scalar dcN = d & gradcN;
Class to generate weighting factors for the filteredLinear differencing scheme.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
filteredLinearLimiter(Istream &)
scalar limiter(const scalar cdWeight, const scalar faceFlux, const typename LimiterFunc::phiType &phiP, const typename LimiterFunc::phiType &phiN, const typename LimiterFunc::gradPhiType &gradcP, const typename LimiterFunc::gradPhiType &gradcN, const vector &d) const
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...