Mesh

Represents a polyhedral complex.

template <
  class ContextType = Context::Local>
class Mesh;

A Mesh object represents a polyhedral complex $ \mathcal{T}_h $ , which is a set containing finitely many convex polyhedra. The mesh provides access to polytopes of various dimensions and their connectivity.

Key Features

  • Access to polytopes by dimension (vertices, faces, cells)
  • Connectivity information between polytopes
  • Support for attributes marking different regions
  • Thread-safe operations (context-dependent)

Context Types

The template parameter ContextType determines the execution model.

SpecializationDescription
Context::Local
Full specialization
template <>
class Mesh<
  Context::Local>;
Represents the subdivision of some domain into faces of (possibly) different geometries.
Context::MPI
Full specialization
template <>
class Mesh<
  Context::MPI>;
Distributed mesh specialization for MPI contexts.