       <span class="comment">! Compute the friction function</span></div>
<div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160;        velocityratio = abs(velocity / stribeck)**alpha</div>
<div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;        g = mu_c + (mu_s - mu_c) * exp(-velocityratio)</div>
<div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160; </div>
<div class="line"><a name="l00443"></a><span class="lineno">  443</span>&