Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
article

Peano—A Traversal and Storage Scheme for Octree-Like Adaptive Cartesian Multiscale Grids

Published: 01 October 2011 Publication History

Abstract

Almost all approaches to solving partial differential equations (PDEs) are based upon a spatial discretization of the computational domain—a grid. This paper presents an algorithm to generate, store, and traverse a hierarchy of $d$-dimensional Cartesian grids represented by a $(k=3)$-spacetree, a generalization of the well-known octree concept, and it also shows the correctness of the approach. These grids may change their adaptive structure throughout the traversal. The algorithm uses $2d+4$ stacks as data structures for both cells and vertices, and the storage requirements for the pure grid reduce to one bit per vertex for both the complete grid connectivity structure and the multilevel grid relations. Since the traversal algorithm uses only stacks, the algorithm's cache hit rate is continually higher than 99.9 percent, and the runtime per vertex remains almost constant; i.e., it does not depend on the overall number of vertices or the adaptivity pattern. We use the algorithmic approach as the fundamental concept for a mesh management for $d$-dimensional PDEs and for a matrix-free PDE solver represented by a compact discrete $3^d$-point operator. In the latter case, one can implement a Jacobi smoother, a Krylov solver, or a geometric multigrid scheme within the presented traversal scheme which inherits the low memory requirements and the good memory access characteristics directly.

References

[1]
H.-J. Bungartz, M. Mehl, T. Neckel, and T. Weinzierl, The PDE framework Peano applied to fluid dynamics: An efficient implementation of a parallel multiscale fluid dynamics solver on octree-like adaptive Cartesian grids, Comput. Mech., 46 (2010), pp. 103-114.
[2]
C. Burstedde, O. Ghattas, M. Gurnis, T. Isaac, G. Stadler, T. Warburton, and L. C. Wilcox, Extreme-scale AMR, in SC '10: Proceedings of the 2010 ACM/IEEE International Conference for High Performance Computing, Networking, Storage and Analysis, IEEE Computer Society Press, Washington, DC, 2010, pp. 1-12.
[3]
C. Burstedde, O. Ghattas, M. Gurnis, G. Stadler, E. Tan, T. Tu, L. C. Wilcox, and S. Zhong, Scalable adaptive mantle convection simulation on petascale supercomputers, in SC '08: Proceedings of the 2008 ACM/IEEE Conference on Supercomputing, IEEE Computer Society Press, Washington, DC, 2008, pp. 1-15.
[4]
Y. Cui, K. B. Olsen, T. H. Jordan, K. Lee, J. Zhou, P. Small, D. Roten, G. Ely, D. K. Panda, A. Chourasia, J. Levesque, S. M. Day, and P. Maechling, Scalable earthquake simulation on petascale supercomputers, in SC '10: Proceedings of the 2010 ACM/IEEE International Conference for High Performance Computing, Networking, Storage and Analysis, IEEE Computer Society Press, Washington, DC, 2010, pp. 1-20.
[5]
J. Dongarra, P. Beckman, P. Aerts, F. Cappello, T. Lippert, S. Matsuoka, P. Messina, T. Moore, R. Stevens, A. E. Trefethen, and M. Valero, The international exascale software project: A call to cooperative action by the global high-performance community, IJHPCA, 23 (2009), pp. 309-322.
[6]
M. Griebel, Multilevelmethoden als Iterationsverfahren über Erzeugendensystemen, Teubner Skripten zur Numerik. Teubner, Dissertation, Technische Universität München, München, Germany, 1994.
[7]
M. Griebel and G. Zumbusch, Parallel multigrid in an adaptive PDE solver based on hashing and space-filling curves, Parallel Comput., 25 (1999), pp. 827-843.
[8]
F. Günther, Eine cache-optimale Implementierung der Finiten-Elemente-Methode, Dissertation, Institut für Informatik, Technische Universität München, München, Germany, 2004.
[9]
J. Hartmann, Entwicklung eines cache-optimalen Finite-Element-Verfahrens zur Lösung $d$-dimensionaler Probleme, Diploma thesis, Institut für Informatik, Technische Universität München, München, Germany, 2004.
[10]
J. Hron and S. Turek, Proposal for numerical benchmarking of fluid-structure interaction between elastic object and laminar incompressible flow, in Fluid-Structure Interaction, Lect. Notes Comput. Sci. Eng. 53, H.-J. Bungartz and M. Schäfer, eds., Springer-Verlag, Berlin, 2006, pp. 371-385.
[11]
D. E. Keyes, Four horizons for enhancing the performance of parallel simulations based on partial differential equations, in Euro-Par '00: Proceedings of the 6th International Euro-Par Conference on Parallel Processing, Lecture Notes in Comput. Sci. 1900, A. Bode, T. Ludwig, W. Karl, and R. Wismüller, eds., Springer-Verlag, Berlin, 2000, pp. 1-17.
[12]
M. Kowarschik and C. Weiß, An overview of cache optimization techniques and cache-aware numerical algorithms, in Algorithms for Memory Hierarchies 2002, U. Meyer, P. Sanders, and J. F. Sibeyn, eds., Springer-Verlag, Berlin, 2003, pp. 213-232.
[13]
T. Neckel, The PDE Framework Peano: An Environment for Efficient Flow Simulations, Verlag Dr. Hut, Munich, 2009.
[14]
M. Pögl, Entwicklung eines cache-optimalen $3$D finite-element-verfahrens für große probleme, Fortschritt-Berichte VDI, Informatik Kommunikation 10, Vol. 745, VDI Verlag, Düsseldorf, 2004.
[15]
H. Sagan, Space-Filling Curves, Springer-Verlag, New York, 1994.
[16]
H. Samet, The quadtree and related hierarchical data structures, ACM Comput. Surveys, 16 (1984), pp. 187-260.
[17]
R. S. Sampath, S. S. Adavani, H. Sundar, I. Lashuk, and G. Biros, Dendro: Parallel algorithms for multigrid and amr methods on 2:1 balanced octrees, in SC '08: Proceedings of the 2008 ACM/IEEE Conference on Supercomputing, IEEE Press, Piscataway, NJ, 2008, pp. 1-12.
[18]
H. Sundar, R. S. Sampath, and G. Biros, Bottom-up construction and 2:1 balance refinement of linear octrees in parallel, SIAM J. Sci. Comput., 30 (2008), pp. 2675-2708.
[19]
T. Tu, D. R. O'Hallaron, and O. Ghattas, Scalable parallel octree meshing for terascale applications, in SC '05: Proceedings of the 2005 ACM/IEEE Conference on Supercomputing, IEEE Computer Society Press, Washington, DC, 2005, p. 4.
[20]
T. Weinzierl, A Framework for Parallel PDE Solvers on Multiscale Adaptive Cartesian Grids, Verlag Dr. Hut, Munich, 2009.

Cited By

View all
  • (2024)Code Generation for Octree-Based Multigrid Solvers with Fused Higher-Order Interpolation and CommunicationEuro-Par 2024: Parallel Processing10.1007/978-3-031-69583-4_17(240-254)Online publication date: 26-Aug-2024
  • (2021)A New Discontinuous Galerkin Method for Elastic Waves with Physically Motivated Numerical FluxesJournal of Scientific Computing10.1007/s10915-021-01565-188:3Online publication date: 1-Sep-2021
  • (2021)A Posteriori Subcell Finite Volume Limiter for General Schemes: Applications from Gasdynamics to Relativistic MagnetohydrodynamicsJournal of Scientific Computing10.1007/s10915-020-01405-886:3Online publication date: 1-Mar-2021
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image SIAM Journal on Scientific Computing
SIAM Journal on Scientific Computing  Volume 33, Issue 5
Special Section: 2010 Copper Mountain Conference
2011
972 pages

Publisher

Society for Industrial and Applied Mathematics

United States

Publication History

Published: 01 October 2011

Author Tags

  1. adaptive Cartesian grid
  2. cache efficiency
  3. multiscale
  4. octree
  5. partial differential equation
  6. space-filling curve
  7. spacetree

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 03 Oct 2024

Other Metrics

Citations

Cited By

View all
  • (2024)Code Generation for Octree-Based Multigrid Solvers with Fused Higher-Order Interpolation and CommunicationEuro-Par 2024: Parallel Processing10.1007/978-3-031-69583-4_17(240-254)Online publication date: 26-Aug-2024
  • (2021)A New Discontinuous Galerkin Method for Elastic Waves with Physically Motivated Numerical FluxesJournal of Scientific Computing10.1007/s10915-021-01565-188:3Online publication date: 1-Sep-2021
  • (2021)A Posteriori Subcell Finite Volume Limiter for General Schemes: Applications from Gasdynamics to Relativistic MagnetohydrodynamicsJournal of Scientific Computing10.1007/s10915-020-01405-886:3Online publication date: 1-Mar-2021
  • (2020)A Flexible, Parallel, Adaptive Geometric Multigrid Method for FEMACM Transactions on Mathematical Software10.1145/342519347:1(1-27)Online publication date: 8-Dec-2020
  • (2019)Studies on the energy and deep memory behaviour of a cache-oblivious, task-based hyperbolic PDE solverInternational Journal of High Performance Computing Applications10.1177/109434201984264533:5(973-986)Online publication date: 1-Sep-2019
  • (2019)The Peano Software—Parallel, Automaton-based, Dynamically Adaptive Grid TraversalsACM Transactions on Mathematical Software10.1145/331979745:2(1-41)Online publication date: 18-Apr-2019
  • (2019)On the Number of Face-Connected Components of Morton-Type Space-Filling CurvesFoundations of Computational Mathematics10.1007/s10208-018-9400-519:4(843-868)Online publication date: 1-Aug-2019
  • (2018)Quasi-matrix-free Hybrid Multigrid on Dynamically Adaptive Cartesian GridsACM Transactions on Mathematical Software10.1145/316528044:3(1-44)Online publication date: 6-Feb-2018
  • (2017)Complex Additive Geometric Multilevel Solvers for Helmholtz Equations on SpacetreesACM Transactions on Mathematical Software10.1145/305494644:1(1-36)Online publication date: 27-Mar-2017
  • (2016)Parallel Memory-Efficient Adaptive Mesh Refinement on Structured Triangular Meshes with Billions of Grid CellsACM Transactions on Mathematical Software10.1145/294766843:3(1-27)Online publication date: 15-Sep-2016
  • Show More Cited By

View Options

View options

Get Access

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media