49#ifndef filteredLinear_H
50#define filteredLinear_H
63template<
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;
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Class to generate weighting factors for the filteredLinear differencing scheme.
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 max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.