31 const scalar stoicRatio
34 return max(ft - (scalar(1) - ft)/stoicRatio, scalar(0));
44 return max(ft - (scalar(1) - ft)/stoicRatio.
value(), scalar(0));
scalar fres(const scalar ft, const scalar stoicRatio) const
const Type & value() const
Return const reference to value.
A class for managing temporary objects.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.