grids-'</span>,int2str(casenr),<span class="string">'.mat'</span>];

    <span class="comment">% create the grid hierarchy</span>
    [g_dual,g_fine] = createGridHierarchy(coarseGrid,fineGrid,<span class="string">'save'</span>,grid_filename,<span class="keyword">...</span>
        <span class="string">'numElements'</span>, numberOfFinecells,<span class="string">'precision'</span>,1e-3,<span class="string">'box'</span>,box);
    toc(t)
</pre><pre class="codeoutput">Make coarse grid
Get fine-scale fractures
M