pysdic.IntegrationPoints.unlocate_points_by_index#
- IntegrationPoints.unlocate_points_by_index(indices, *, propagate_properties=True)[source]#
Unlocate the points with the given indices without removing them: their element index is set to
-1and their natural coordinates tonumpy.nan.- Parameters:
indices (ArrayLike) – An integer array of shape \((R,)\) with the indices of the points to unlocate, 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 with the given points unlocated.
- Return type:
- Raises:
TypeError – If the indices are not integers.
IndexError – If an index is out of \([0, N_p)\).