MCPcopy Create free account
hub / github.com/FEniCS/dolfinx / array

Method array

python/dolfinx/graph.py:91–101  ·  view source on GitHub ↗

Array representation of the adjacency list. Note: This is available only for adjacency lists with no additional link (edge) data. Returns: Flattened array representation of the adjacency list.

(self)

Source from the content-addressed store, hash-verified

89
90 @property
91 def array(self) -> npt.NDArray[Index]:
92 """Array representation of the adjacency list.
93
94 Note:
95 This is available only for adjacency lists with no
96 additional link (edge) data.
97
98 Returns:
99 Flattened array representation of the adjacency list.
100 """
101 return self._cpp_object.array
102
103 @property
104 def offsets(self) -> npt.NDArray[np.int32]:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected