graphlow.core.MeshTopology.get_skeleton#
- MeshTopology.get_skeleton(name: IncidenceName | AdjacencyName) csr_array#
Get or build basic skeleton (CP, PC, CC, PP, FC, CF, FP, PF). The result is cached.
Advanced API: returns a scipy.sparse matrix on the host and touches the skeleton cache. Use when you need scipy directly or explicit control over host memory.
- Parameters:
- nameIncidenceName | AdjacencyName
Incidence or adjacency name (CP, PC, CC, PP, FC, CF, FP, PF).
- Returns:
- scipy.sparse.csr_array
CSR array. dtype: np.int64