mesh.Mesh.border_elems#

Mesh.border_elems()#

Find the elements that are touching the border of the Mesh.

Returns#

int array

A list of the numbers of the elements that fully contain at least one of the elements of the border Mesh. Thus, in a volume Mesh, elements only touching the border by a vertex or an edge are not considered border elements.

Examples#

>>> M = Mesh(eltype='quad4').subdivide(3)
>>> print(M.border_elems())
[0 1 2 3 5 6 7 8]