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));
const Type & value() const noexcept
Return const reference to value.
scalar fres(const scalar ft, const scalar stoicRatio) const
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
Generic dimensioned Type class.
A class for managing temporary objects.