al-index-map">&#182;</a></h3><p>Three local edges are <code>locEdge = [2 3; 1 3; 1 2]</code>. The pointer from the local to global index can be constructured by</p>

<pre><code>[elem2edge,edge] = dofedge(elem);</code></pre>

</div>
</div>
</div>
<div class="cell border-box-sizing code_cell rendered">
<div class="input">
<div class="prompt input_prompt">In&nbsp;[3]:</div>
<div class="inner_cell">
    <div class="input_area">
<div class=" highlight hl-matlab"><pre><span></span><span class="p">[</span><span cl