Skip to main content
QUICK REVIEW

[Paper Review] Mesh Algorithms for PDE with Sieve I: Mesh Distribution

Matthew G. Knepley, Dmitry Karpeev|arXiv (Cornell University)|Aug 30, 2009
Computational Geometry and Mesh GenerationComputer Science13 references9 citations
TL;DR

This paper introduces the Sieve framework, a dimension-independent, arrow-centric approach to distributed mesh management for PDE solvers. By treating incidence relations (arrows) as first-class objects and using covering relations and duality, Sieve enables uniform mesh partitioning, distribution, and data handling across arbitrary element types, dimensions, and embeddings—achieving full code reuse and extensibility with a single parallel operation: section completion.

ABSTRACT

We have developed a new programming framework, called Sieve, to support parallel numerical PDE algorithms operating over distributed meshes. We have also developed a reference implementation of Sieve in C++ as a library of generic algorithms operating on distributed containers conforming to the Sieve interface. Sieve makes instances of the incidence relation, or \emph{arrows}, the conceptual first-class objects represented in the containers. Further, generic algorithms acting on this arrow container are systematically used to provide natural geometric operations on the topology and also, through duality, on the data. Finally, coverings and duality are used to encode not only individual meshes, but all types of hierarchies underlying PDE data structures, including multigrid and mesh partitions. In order to demonstrate the usefulness of the framework, we show how the mesh partition data can be represented and manipulated using the same fundamental mechanisms used to represent meshes. We present the complete description of an algorithm to encode a mesh partition and then distribute a mesh, which is independent of the mesh dimension, element shape, or embedding. Moreover, data associated with the mesh can be similarly distributed with exactly the same algorithm. The use of a high level of abstraction within the Sieve leads to several benefits in terms of code reuse, simplicity, and extensibility. We discuss these benefits and compare our approach to other existing mesh libraries.

Motivation & Objective

  • To address the disconnect between mesh topology and functional data structures in PDE solvers, where mesh generators and solvers use incompatible representations.
  • To unify mesh distribution, partitioning, and data distribution under a single abstraction, eliminating dependency on element type, dimension, or embedding.
  • To enable dimension-independent programming by treating topological connectivity as a first-class concept via incidence relations (arrows).
  • To support hierarchical data structures like multigrid and mesh partitions using the same core mechanisms as mesh topology.
  • To improve code reuse, simplicity, and extensibility by abstracting low-level index manipulation into high-level geometric operations.

Proposed method

  • Represent mesh topology using a Sieve data structure where geometric elements (e.g., vertices, cells) are points and incidence relations (e.g., vertex on edge) are arrows, making them first-class objects.
  • Use covering relations to encode local topologies and overlaps between processes, enabling distributed mesh construction through a chain of local data collections.
  • Apply section completion—a single parallel operation—to distribute both mesh topology and associated data (e.g., coordinates) uniformly across processes.
  • Leverage duality between topological operations (e.g., closure) and analytical operations (e.g., restriction) via arrow-based data, such as orientation or interpolation weights.
  • Use the Atlas adapter to determine data size during distribution, enabling automatic handling of sparse or empty data sections (e.g., faces with no coordinates).
  • Construct the final distributed mesh by completing sections (e.g., partition, coordinate) using the overlap structure, with ghost cells automatically generated for face partitions.

Experimental results

Research questions

  • RQ1Can a single, dimension-independent algorithm distribute meshes regardless of element shape, dimension, or embedding?
  • RQ2Can mesh partitioning and data distribution be unified under the same abstraction, eliminating the need for separate handling of topology and data?
  • RQ3Can the same operation—section completion—be used to distribute both mesh topology and associated functional data?
  • RQ4How can hierarchical data structures like multigrid or mesh partitions be encoded and manipulated using the same core mechanisms as the mesh itself?
  • RQ5Can the arrow-centric model reduce code complexity and improve extensibility compared to traditional mesh libraries?

Key findings

  • The mesh distribution algorithm is fully independent of mesh dimension, element shape, embedding, and the presence of intermediate elements in the Sieve.
  • The same section completion operation distributes both mesh topology and associated data (e.g., coordinates), regardless of whether data is attached to vertices, cells, or other elements.
  • Ghost cells are automatically generated in the distributed mesh when using face partitions, demonstrating the framework’s ability to handle complex communication patterns naturally.
  • The Sieve framework supports multigrid and mesh partition hierarchies using the same underlying mechanisms as the mesh itself, via duality and covering relations.
  • The approach enables full code reuse and extensibility, as all operations are expressed through high-level geometric abstractions rather than low-level index arithmetic.
  • The framework’s design, inspired by category theory and algebraic topology, allows dimension-independent programming without explicit dimension parameters or special cases.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.