�,ρi, ρw)</code></pre><p>In this case, the constructor simply sets the default values for the parameters <span>$\alpha$</span>, <span>$\rho_i$</span>, and <span>$\rho_w$</span>. NB: for more complicated melt rate models, constructors might be more elaborate! You can see constructors for the various models considered above by diving into the &quot;./src/MeltRate&quot; folder.</p><p>The final step is to define a function <code>update_melt_rate!(melt_rate::TYPE, fields, grid)</code> which tells WAVI how to u