12 #include <dolfinx/common/MPI.h>
13 #include <dolfinx/common/types.h>
24 namespace GraphBuilder
30 std::pair<std::vector<std::vector<std::int64_t>>, std::array<std::int32_t, 3>>
37 std::tuple<std::vector<std::vector<std::int32_t>>,
38 std::vector<std::pair<std::vector<std::int32_t>, std::int32_t>>,
This class provides a static adjacency list data structure. It is commonly used to store directed gra...
Definition: AdjacencyList.h:28
std::pair< std::vector< std::vector< std::int64_t > >, std::array< std::int32_t, 3 > > compute_dual_graph(const MPI_Comm mpi_comm, const graph::AdjacencyList< std::int64_t > &cell_vertices, const mesh::CellType &cell_type)
Build distributed dual graph (cell-cell connections) from minimal mesh data, and return (graph,...
Definition: GraphBuilder.cpp:300
std::tuple< std::vector< std::vector< std::int32_t > >, std::vector< std::pair< std::vector< std::int32_t >, std::int32_t > >, std::int32_t > compute_local_dual_graph(const graph::AdjacencyList< std::int64_t > &cell_vertices, const mesh::CellType &cell_type)
Compute local part of the dual graph, and return (local_graph, facet_cell_map, number of local edges ...
Definition: GraphBuilder.cpp:323
Mesh data structures.
Definition: DirichletBC.h:27
CellType
Cell type identifier.
Definition: cell_types.h:21