DOLFIN-X
DOLFIN-X C++ interface
|
This class implements a set of basic algorithms that automate the computation of mesh entities and connectivity. More...
Functions | |
std::tuple< std::shared_ptr< graph::AdjacencyList< std::int32_t > >, std::shared_ptr< graph::AdjacencyList< std::int32_t > >, std::shared_ptr< common::IndexMap > > | compute_entities (MPI_Comm comm, const Topology &topology, int dim) |
Compute mesh entities of given topological dimension by computing entity-to-vertex connectivity (dim, 0), and cell-to-entity connectivity (tdim, dim) More... | |
std::array< std::shared_ptr< graph::AdjacencyList< std::int32_t > >, 2 > | compute_connectivity (const Topology &topology, int d0, int d1) |
Compute connectivity (d0 -> d1) for given pair of topological dimensions. More... | |
This class implements a set of basic algorithms that automate the computation of mesh entities and connectivity.
std::array< std::shared_ptr< graph::AdjacencyList< std::int32_t > >, 2 > dolfinx::mesh::TopologyComputation::compute_connectivity | ( | const Topology & | topology, |
int | d0, | ||
int | d1 | ||
) |
Compute connectivity (d0 -> d1) for given pair of topological dimensions.
[in] | topology | The topology |
[in] | d0 | The dimension of the nodes in the adjacency list |
[in] | d1 | The dimension of the edges in the adjacency list |
std::tuple< std::shared_ptr< graph::AdjacencyList< std::int32_t > >, std::shared_ptr< graph::AdjacencyList< std::int32_t > >, std::shared_ptr< common::IndexMap > > dolfinx::mesh::TopologyComputation::compute_entities | ( | MPI_Comm | comm, |
const Topology & | topology, | ||
int | dim | ||
) |
Compute mesh entities of given topological dimension by computing entity-to-vertex connectivity (dim, 0), and cell-to-entity connectivity (tdim, dim)
[in] | comm | MPI Communicator |
[in] | topology | Mesh topology |
[in] | dim | The dimension of the entities to create |