Mesh.connectivity_matrix

Mesh.connectivity_matrix(rtype='array')[source]

Compute the connectivity matrix of the mesh.

Parameters:
rtypeLiteral[‘array’, ‘csc’, ‘csr’, ‘coo’, ‘list’], optional

Format of the result.

Returns:
array-like

The connectivity matrix.