[Paper Review] Scalable Algorithms for Parallel Tree-based Adaptive Mesh Refinement with General Element Types
This paper presents a scalable, element-type-agnostic adaptive mesh refinement (AMR) framework using a novel tetrahedral Morton space-filling curve (TM-SFC) for simplicial elements. It enables constant-time, low-level operations on triangles and tetrahedra via bitwise interleaving of anchor node coordinates and element type, achieving strong and weak scaling on up to 917,504 cores with 858 billion elements. The approach supports dynamic load balancing, ghost layer management, and hybrid meshes, demonstrating high performance across diverse element types including prisms and hexahedra via integration with p4est.
In this thesis, we develop, discuss and implement algorithms for scalable parallel tree-based adaptive mesh refinement (AMR) using space-filling curves (SFCs). We create an AMR software that works independently of the used element type, such as for example lines, triangles, tetrahedra, quadrilaterals, hexahedra, and prisms. Along with a detailed mathematical discussion, this requires the implementation as a numerical software and its validation, as well as scalability tests on current supercomputers. For triangular and tetrahedral elements (simplices) with red-refinement (1:4 in 2D, 1:8 in 3D), we develop a new SFC index, the tetrahedral Morton index (TM-index). Its construction is similar to the Morton index for quadrilaterals/hexahedra, as it is also based on bitwise interleaving the coordinates of a certain vertex of the simplex, the anchor node. We develop and demonstrate a new simplicial SFC and create a fast and scalable tree-based AMR software that offers a flexibility and generality that was previously not available.
Motivation & Objective
- To develop a general-purpose, scalable AMR framework that supports arbitrary element types, including simplices, quadrilaterals, hexahedra, and prisms.
- To design a space-filling curve (SFC) for tetrahedral and triangular elements that enables efficient, constant-time mesh operations and maintains good parallel partitioning properties.
- To implement a modular, low-level API that decouples element-type-specific logic from high-level AMR algorithms, enabling reuse across different element types.
- To optimize coarse mesh repartitioning and ghost layer management for high-performance parallel AMR with minimal communication overhead.
- To validate the framework on exascale-scale supercomputers using up to 858 billion mesh elements and demonstrate support for hybrid 2D/3D meshes.
Proposed method
- Introduce the tetrahedral Morton space-filling curve (TM-SFC), which extends the classical Morton index by interleaving anchor node coordinates and a type identifier for simplices.
- Define a low-level API that abstracts element-local operations (e.g., parent, children, face neighbors) using SFC indices, enabling type-agnostic implementation.
- Implement a top-down search optimization for tree-to-tree face neighbor computation, accelerating ghost layer generation by factors of 10–20.
- Develop a coarse mesh repartitioning algorithm that minimizes communication and achieves load balance, demonstrated on 371 billion trees across 917,504 processes in 1.2 seconds.
- Integrate the TM-SFC into the t8code library, reusing p4est for hexahedral and quadrilateral elements, and extend with prism support via a concurrent implementation.
- Use SFC-based partitioning with theoretical bounds on face-connected components: 2(L−1) in 2D and 2L+1 in 3D, ensuring predictable communication overhead.
Experimental results
Research questions
- RQ1Can a space-filling curve be designed for tetrahedral and triangular elements that supports constant-time element operations and maintains good parallel partitioning properties?
- RQ2How can a modular, element-type-agnostic AMR framework be architected to support diverse element types including prisms and simplices?
- RQ3What is the theoretical upper bound on the number of face-connected components in SFC-based mesh partitions for tetrahedral meshes?
- RQ4Can coarse mesh repartitioning be optimized to scale efficiently on extreme-scale supercomputers while minimizing communication?
- RQ5How efficiently can ghost layers be generated and managed in a type-agnostic AMR framework without sacrificing performance?
Key findings
- The TM-SFC enables constant-time computation of parent, children, and face neighbors for tetrahedra and triangles using only 14 and 10 bytes per element, respectively, matching the storage efficiency of classical Morton indices.
- The number of face-connected components in SFC partitions is bounded by 2(L−1) in 2D and 2L+1 in 3D, ensuring predictable communication scaling with refinement level L.
- The coarse mesh repartitioning algorithm achieved a runtime of 1.2 seconds on 917,504 processes for a 371 billion-tree mesh on the JUQUEEN supercomputer.
- Ghost layer generation using the optimized top-down search method achieved speedups of 10–20× compared to naive approaches, reaching performance comparable to fixed-type implementations.
- The framework demonstrated excellent strong and weak scaling on up to 917,504 processes with 858 billion mesh elements, confirming exascale readiness.
- The integration of t8code with p4est for hexahedral elements and a concurrent prism implementation enabled full support for hybrid 2D and 3D meshes with mixed element types.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.