pysdic.Connectivity.elements#
- property Connectivity.elements: ndarray#
[Get or Set] An numpy array of shape \((N_e, N_{vpe})\) representing the connectivity of the mesh.
Note
The property is copied-on-write (cow) with type
numpy.int64. Accessing it will return an unwritable view to prevent accidental modifications.- Parameters:
value (ArrayLike) – An array-like of shape \((N_e, N_{vpe})\) representing the connectivity of the mesh. If 1D array is provided, it will be reshaped to \((N_e, 1)\).
- Returns:
A unwritable NumPy array of shape \((N_e, N_{vpe})\) containing the connectivity of the mesh.
- Return type:
- Raises:
TypeError – If the input points is not a NumPy array.
ValueError – If the input array does not have the correct shape \((N_e, N_{vpe})\).