span class="p">)</span>
        <span class="n">g_vert_list</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">array</span><span class="p">([</span><span class="n">g_verts</span><span class="p">[</span><span class="n">v</span><span class="p">]</span> <span class="k">for</span> <span class="n">v</span> <span class="ow">in</span> <span class="n">sorted_verts</span><span class="p">])</span>

        <span class="c1"># Get the locations of a new function value since