pysdic.Mesh.remove_unused_vertices#

Mesh.remove_unused_vertices(*, propagate_properties=True)[source]#

Remove the vertices that are not used by any element (the indices of the elements are renumbered).

Parameters:

propagate_properties (bool, optional (default: True)) – If False, the new mesh has no vertex and element properties.

Returns:

The mesh without unused vertices.

Return type:

pysdic.Mesh