A Cache‐Aware Algorithm for PDEs on Hierarchical Data Structures Based on Space‐Filling Curves
Frank Günther, Miriam Mehl, Markus Pögl et al. · SIAM Journal on Scientific Computing · 2006
Competitive numerical algorithms for solving partial differential equations have to work with the most efficient numerical methods like multigrid and adaptive grid refinement and thus with hierarchical data structures. Unfortunately, in most implementations, hierarchical data—typically stored in trees—cause a nonnegligible overhead in data access. To overcome this quandary—numerical efficiency versus efficient implementation—our algorithm uses space‐filling curves to build up data structures which are processed linearly. In fact, the only kind of data structure used in our implementation is stacks. Thus, data access becomes very fast—even faster than the common access to nonhierarchical data stored in matrices—and, in particular, cache misses are reduced considerably. Furthermore, the implementation of multigrid cycles and/or higher order discretizations as well as the parallelization of the whole algorithm become very easy and straightforward on these data structures.
Cited by 70 works. doi:10.1137/040604078 Open-access PDF
Authors
References
- Space-Filling Curves
- Cache-oblivious algorithms
- Finite Elements: Theory, Fast Solvers, and Applications in Solid Mechanics
- A parallel multilevel method for adaptively refined Cartesian grids with embedded boundaries
- Manipulation and Presentation of Multidimensional Image Data Using the Peano Scan
- Digital halftoning with space filling curves
- Cache Optimization for Structured and Unstructured Grid Multigrid
- Recursive array layouts and fast parallel matrix multiplication
- On partitioning dynamic adaptive grid hierarchies
- Digital halftoning with space filling curves