template<>
Rodin::Geometry::Connectivity<Context::Sequential> class final

Represents the set of incidence relations of a Mesh.

This class stores the set of incidence relations:

\[ d \longrightarrow d', \quad 0 \leq d, d' \leq D, \]

where $ D $ represents the topological mesh dimension. This class is based on [7].

Public functions

auto nodes(size_t count) -> Connectivity&
Sets the number of nodes (vertices) in the mesh.
auto reserve(size_t d, size_t count) -> Connectivity&
Reserves space for the polytopes of the given dimension.
auto build(size_t d) -> Connectivity&
Computes the entities of dimension $ d $ of each cell and for each such entity the vertices of that entity.

Function documentation

template<>
Connectivity& Rodin::Geometry::Connectivity<Context::Sequential>::build(size_t d)

Computes the entities of dimension $ d $ of each cell and for each such entity the vertices of that entity.

Computes the connectivities:

\[ D \longrightarrow d \quad \text{and} \quad D \longrightarrow 0, \quad 0 < d < D, \]

from $ D \longrightarrow 0 $ and $ D \longrightarrow D $ .