dolfinx.cpp.graph¶
Graph module
Classes
|
Adjacency List |
|
Adjacency List |
-
class
dolfinx.cpp.graph.
AdjacencyList_int32
(*args, **kwargs)¶ Bases:
pybind11_builtins.pybind11_object
Adjacency List
Overloaded function.
__init__(self: dolfinx.cpp.graph.AdjacencyList_int32, arg0: numpy.ndarray[numpy.int32]) -> None
__init__(self: dolfinx.cpp.graph.AdjacencyList_int32, arg0: numpy.ndarray[numpy.int32], arg1: numpy.ndarray[numpy.int32]) -> None
-
property
array
¶
-
links
(self: dolfinx.cpp.graph.AdjacencyList_int32, arg0: int) → numpy.ndarray[numpy.int32]¶ Links (edges) of a node
-
property
num_nodes
¶
-
property
offsets
¶
-
class
dolfinx.cpp.graph.
AdjacencyList_int64
(*args, **kwargs)¶ Bases:
pybind11_builtins.pybind11_object
Adjacency List
Overloaded function.
__init__(self: dolfinx.cpp.graph.AdjacencyList_int64, arg0: numpy.ndarray[numpy.int64]) -> None
__init__(self: dolfinx.cpp.graph.AdjacencyList_int64, arg0: numpy.ndarray[numpy.int64], arg1: numpy.ndarray[numpy.int32]) -> None
-
property
array
¶
-
links
(self: dolfinx.cpp.graph.AdjacencyList_int64, arg0: int) → numpy.ndarray[numpy.int64]¶ Links (edges) of a node
-
property
num_nodes
¶
-
property
offsets
¶