pysdic.IntegrationPoints.filter_points#

IntegrationPoints.filter_points(mask, *, propagate_properties=True)[source]#

Keep only the points selected by a boolean mask.

Parameters:
  • mask (ArrayLike) – A boolean array of shape \((N_p,)\). The points with a True value are kept.

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

Returns:

The filtered integration points.

Return type:

pysdic.IntegrationPoints

Raises: