graphlow.core.MeshTopology.face_cell_incidence#

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

Materialize face-cell incidence (FC). Its value is 1 for the owner cell and -1 for the neighbor cell.

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

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

Returns:
T

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