The Mesh.p2e (vertices to edges) method functioned actually as Mesh.e2t(edges to elements). I renamed the original method as e2t and added a new method p2e that produces a map between vertices and edges.
This might have slipped as there were no test cases for Mesh.p2ebeforehand. I added cases for both p2e and e2t, and fixed the indentation of the other cases for that particular test.
The
Mesh.p2e
(vertices to edges) method functioned actually asMesh.e2t
(edges to elements). I renamed the original method ase2t
and added a new methodp2e
that produces a map between vertices and edges.This might have slipped as there were no test cases for
Mesh.p2e
beforehand. I added cases for bothp2e
ande2t
, and fixed the indentation of the other cases for that particular test.