53 template<
class LimiterFunc>
66 const scalar cdWeight,
67 const scalar faceFlux,
68 const typename LimiterFunc::phiType& phiP,
69 const typename LimiterFunc::phiType& phiN,
70 const typename LimiterFunc::gradPhiType& gradcP,
71 const typename LimiterFunc::gradPhiType& gradcN,
77 LimiterFunc::r(faceFlux, phiP, phiN, gradcP, gradcN, d), 0
80 const scalar rrp1 = r*(r + 1);
82 return 1.5*rrp1/(rrp1 + 1);
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Class with limiter function which returns the limiter for the OSPRE interpolation scheme based on r o...
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
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)