dolfinx.cpp.graph

Graph module

Classes

AdjacencyList_int32([order])

Adjacency List

AdjacencyList_int64([order])

Adjacency List

class dolfinx.cpp.graph.AdjacencyList_int32(self, adj: ndarray[dtype=int32, writable=False, shape=(*), order='C'])
class dolfinx.cpp.graph.AdjacencyList_int32(self, adj: ndarray[dtype=int32, writable=False, shape=(*, *), order='C'])
class dolfinx.cpp.graph.AdjacencyList_int32(self, data: ndarray[dtype=int32, writable=False, shape=(*), order='C'], offsets: ndarray[dtype=int32, writable=False, shape=(*), order='C'])

Bases: object

Adjacency List

property array

(self) -> numpy.ndarray[dtype=int32, writable=False, ]

Links (edges) of a node

property num_nodes

(self) -> int

property offsets

(self) -> numpy.ndarray[dtype=int32, writable=False, ]

class dolfinx.cpp.graph.AdjacencyList_int64(self, adj: ndarray[dtype=int64, writable=False, shape=(*), order='C'])
class dolfinx.cpp.graph.AdjacencyList_int64(self, adj: ndarray[dtype=int64, writable=False, shape=(*, *), order='C'])
class dolfinx.cpp.graph.AdjacencyList_int64(self, data: ndarray[dtype=int64, writable=False, shape=(*), order='C'], offsets: ndarray[dtype=int32, writable=False, shape=(*), order='C'])

Bases: object

Adjacency List

property array

(self) -> numpy.ndarray[dtype=int64, writable=False, ]

Links (edges) of a node

property num_nodes

(self) -> int

property offsets

(self) -> numpy.ndarray[dtype=int32, writable=False, ]