pysdic.Mesh.connectivity#

property Mesh.connectivity: Connectivity#

[Get/Set] The elements of the mesh, a pysdic.Connectivity of shape \((N_e, N_{vpe})\).

The getter returns the internal connectivity (see the class documentation). The setter copies the given connectivity, which must keep \(N_e\) and \(N_{vpe}\) and refer to existing vertices. A connectivity given as an array keeps the current element type. The setter is refused if the mesh is locked.

Parameters:

value (Union[pysdic.Connectivity, ArrayLike]) – The new connectivity, of shape \((N_e, N_{vpe})\).

Returns:

The connectivity of the mesh.

Return type:

pysdic.Connectivity