pysdic.IntegrationPoints.element_indices#

property IntegrationPoints.element_indices: ndarray#

[Get or Set] The element indices of the integration points as a numpy ndarray with shape (\(N_p\),), where \(N_p\) is the number of integration points.

if a point is not included in any element, its element ID should be set to -1.

Note

The property is copied-on-write (cow) into numpy.ndarray of type numpy.int64. Accessing it will return an unwritable view to prevent accidental modifications.

Parameters:

value (ArrayLike) – An array-like of shape \((N_p,)\) representing the element indices of the integration points.

Returns:

The element IDs of the integration points as a NumPy array of shape \((N_p,)\) and type numpy.int64.

Return type:

numpy.ndarray