pysdic.IntegrationPoints.remove_points_by_index#

IntegrationPoints.remove_points_by_index(indices, *, propagate_properties=True)[source]#

Remove the points with the given indices.

Parameters:
  • indices (ArrayLike) – An integer array of shape \((R,)\) with the indices of the points to remove, in \([0, N_p)\). Duplicates are allowed.

  • propagate_properties (bool, optional (default: True)) – If False, the new integration points have no properties.

Returns:

The integration points without the given points.

Return type:

pysdic.IntegrationPoints

Raises:
  • TypeError – If the indices are not integers.

  • IndexError – If an index is out of \([0, N_p)\).