mesh.Mesh.non_manifold_nodes#

Mesh.non_manifold_nodes()#

Return the non-manifold nodes of a Mesh.

Non-manifold nodes are nodes where subparts of a mesh of level >= 2 are connected by a node but not by an edge.

Returns#

int array

Sorted aray of non-manifold node numbers. Possibly empty (always if the dimensionality of the Mesh is lower than 2).

Examples#

>>> M1 = Mesh(eltype='quad4')
>>> M2 = M1.translate([1.0, 1.0, 0.0])
>>> M = M1 + M2
>>> print(M.non_manifold_nodes())
[2]
>>> print(M.edge_mesh().non_manifold_nodes())
[]