mesh.Mesh.edges#

property Mesh.edges#

Return the unique edges of all the elements in the Mesh.

Returns#

Elems

A connectivity table defining the unique element edges in function of the nodes.

Notes#

This is like self.elems.insertLevel(1)[1] but the result is memoized in the Mesh object to avoid recomputation on a next call.

Examples#

>>> Mesh(eltype='quad4').subdivide(2,1).edges
Elems([[0, 1],
       [3, 0],
       [1, 2],
       [1, 4],
       [2, 5],
       [4, 3],
       [5, 4]]..., eltype=Line2)