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 return r*(r + 1)/(
sqr(r) + 1);
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
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
Class with limiter function which returns the limiter for the vanAlbada differencing scheme based on ...
vanAlbadaLimiter(Istream &)