ly build the appropriate <code>MeltRate</code> object and then pass it to the <code>Model</code> when the latter is constructed.</p><p>This is best demonstrated by example: we first build a simple ice sheet model on a 20 x 20 grid, with a bed that is 50 m below sea level:</p><pre><code class="language-julia hljs">grid = Grid(nx = 20, ny = 20)
bed_elevation = 50.0 * ones(grid.nx, grid.ny)</code></pre><p>We then build our melt rate model. Let consider a simple case in which the <a href="#Quadratic-Melt-Rate">