29 const scalar stoicRatio
32 return max(ft - (scalar(1) - ft)/stoicRatio, scalar(0));
42 return max(ft - (scalar(1) - ft)/stoicRatio.
value(), scalar(0));
scalar fres(const scalar ft, const scalar stoicRatio) const
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
const Type & value() const
Return const reference to value.
A class for managing temporary objects.