dolfinx.cpp.graph#
Graph module
Classes
|
Adjacency List |
|
Adjacency List |
Adjacency List |
|
Cell partitioner using cell positions rather than the mesh dual graph, e.g. create_geometric_cell_partitioner's result, or the partition_morton, partition_hilbert and partitioner_parmetis_geom built-ins. |
|
Mesh cell reordering function that uses cell centroids. |
|
Cell partitioner using the mesh dual graph, e.g. as returned by partitioner, partitioner_scotch, partitioner_parmetis or partitioner_kahip. |
|
Cell partitioner returned by create_hybrid_cell_partitioner. |
|
|
- class dolfinx.cpp.graph.AdjacencyList_int32(self, adj: ndarray[dtype=int32, shape=(*), order='C', writable=False])#
- class dolfinx.cpp.graph.AdjacencyList_int32(self, adj: ndarray[dtype=int32, shape=(*, *), order='C', writable=False])
- class dolfinx.cpp.graph.AdjacencyList_int32(self, data: ndarray[dtype=int32, shape=(*), order='C', writable=False], offsets: ndarray[dtype=int32, shape=(*), order='C', writable=False])
Bases:
objectAdjacency List
- property array#
(self) -> numpy.ndarray[dtype=int32, writable=False]
- links(self, i: int) 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, shape=(*), order='C', writable=False])#
- class dolfinx.cpp.graph.AdjacencyList_int64(self, adj: ndarray[dtype=int64, shape=(*, *), order='C', writable=False])
- class dolfinx.cpp.graph.AdjacencyList_int64(self, data: ndarray[dtype=int64, shape=(*), order='C', writable=False], offsets: ndarray[dtype=int32, shape=(*), order='C', writable=False])
Bases:
objectAdjacency List
- property array#
(self) -> numpy.ndarray[dtype=int64, writable=False]
- links(self, i: int) 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]
- class dolfinx.cpp.graph.AdjacencyList_int_sizet_int8__int32_int32#
Bases:
objectAdjacency List
- property num_nodes#
(self) -> int
- property offsets#
(self) -> numpy.ndarray[dtype=int32, writable=False]
- class dolfinx.cpp.graph.GeometricPartitioner#
Bases:
objectCell partitioner using cell positions rather than the mesh dual graph, e.g. create_geometric_cell_partitioner’s result, or the partition_morton, partition_hilbert and partitioner_parmetis_geom built-ins. Pass it as create_mesh’s partitioner argument; it is also directly callable for low-level use, e.g. via compute_cell_centroids.
- class dolfinx.cpp.graph.GeometricReorderer#
Bases:
objectMesh cell reordering function that uses cell centroids. Pass it as create_mesh’s reorder_fn argument; it is also directly callable for low-level use.
- class dolfinx.cpp.graph.GraphPartitioner#
Bases:
objectCell partitioner using the mesh dual graph, e.g. as returned by partitioner, partitioner_scotch, partitioner_parmetis or partitioner_kahip. Pass it as create_mesh’s partitioner argument; it is also directly callable for low-level use.
- class dolfinx.cpp.graph.HybridPartitioner#
Bases:
objectCell partitioner returned by create_hybrid_cell_partitioner. Pass it as create_mesh’s partitioner argument; it is also directly callable for low-level use, e.g. via compute_cell_centroids.