DOLFIN-X
DOLFIN-X C++ interface
Functions
dolfinx::mesh::GraphBuilder Namespace Reference

Tools to build a Graph corresponding to various objects. More...

Functions

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, ghost_vertices, [num local edges, num non-local edges])
 
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 in the graph (undirected)
 

Detailed Description

Tools to build a Graph corresponding to various objects.