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,
75 scalar phict = LimiterFunc::phict
77 faceFlux, phiP, phiN, gradcP, gradcN, d
80 scalar limitPhict =
min(
max(phict, 0), 0.5);
81 return limitPhict/(1 - limitPhict);
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 SFCD interpolation scheme based on phic...
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 min(const layerAndWeight &a, const layerAndWeight &b)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)