pysdic.Mesh.remove_connectivity_by_index#

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

Remove the elements with the given indices. The vertices are unchanged.

Parameters:
  • indices (Union[Integral, ArrayLike]) – An index or an integer array of shape \((R,)\) with indices in \([0, N_e)\).

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

Returns:

The mesh without the given elements.

Return type:

pysdic.Mesh