pysdic.IntegrationPoints.keep_points_by_element#

IntegrationPoints.keep_points_by_element(element_indices, *, propagate_properties=True)[source]#

Keep only the points located in the given elements.

Parameters:
  • element_indices (ArrayLike) – An integer array of shape \((R,)\) with the indices of the elements (-1 selects the unlocated points). Indices of elements without points are allowed.

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

Returns:

The integration points with only the points of the given elements.

Return type:

pysdic.IntegrationPoints