graphlow.core.MeshTopology.cell_adjacency#

MeshTopology.cell_adjacency(layout: Literal['csr', 'coo'] = 'coo') T#

Materialize cell adjacency (CC).

Parameters:
layoutLiteral[“csr”, “coo”]

Layout of the sparse matrix. Default is “coo”.

Returns:
T

Backend tensor of shape (n_cells, n_cells). dtype is float with the precision set by the backend.