DOLFIN-X
DOLFIN-X C++ interface
Static Public Member Functions | List of all members
dolfinx::mesh::GraphBuilder Class Reference

This class builds a Graph corresponding to various objects. More...

#include <GraphBuilder.h>

Static Public Member Functions

static std::pair< std::vector< std::vector< std::int64_t > >, std::array< std::int32_t, 3 > > compute_dual_graph (const MPI_Comm mpi_comm, const Eigen::Ref< const Eigen::Array< std::int64_t, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor >> &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])
 
static 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 Eigen::Ref< const Eigen::Array< std::int64_t, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor >> &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

This class builds a Graph corresponding to various objects.


The documentation for this class was generated from the following files: