 class="string">'n'</span>  , [  1,   1]);
</pre><h2>Extract dual grid from g_fine<a name="8"></a></h2><pre class="codeinput">    DG = partitionDualDFM(g_fine);
    DG.lineedge = [];

    <span class="comment">% store the dual grid in the grid structure</span>
    g_fine.cells.level = zeros(g_fine.cells.num,1);
    g_fine.cells.level(DG.nn) = 0;
    g_fine.cells.level(DG.ee) = 1;
    g_fine.cells.level(DG.ii) = 2;

    <span class="comment">% plot the dual grid</span>
    <span class="keyword">if</span> doP