• DocumentCode
    2643888
  • Title

    Tree data structures for N-body simulation

  • Author

    Anderson, Richard J.

  • Author_Institution
    Dept. of Comput. Sci. & Eng., Washington Univ., Seattle, WA, USA
  • fYear
    1996
  • fDate
    14-16 Oct 1996
  • Firstpage
    224
  • Lastpage
    233
  • Abstract
    In this paper, we study data structures for use in N-body simulation. We concentrate on the spatial decomposition tree used in particle-cluster force evaluation algorithms such as the Barnes-Hut algorithm. We prove that a k-d tree is asymptotically inferior to a spatially balanced tree. We show that the worst case complexity of the force evaluation algorithm using a k-d tree is Θ(nlog3nlogL) compared with Θ(nlogL) for an oct-tree. (L is the separation ratio of the set of points.) We also investigate improving the constant factor of the algorithm, and present several methods which improve over the standard oct-tree decomposition. Finally, we consider whether or not the bounding box of a point set should be “tight”, and show that it is only safe to use tight bounding boxes for binary decompositions. The results are all directly applicable to practical implementations of N-body algorithms
  • Keywords
    N-body problems; computational complexity; physics computing; tree data structures; Barnes-Hut algorithm; N-body simulation; bounding box; force evaluation algorithm; k-d tree; particle-cluster force evaluation algorithms; spatial decomposition tree; spatially balanced tree; standard oct-tree decomposition; tree data structures; worst case complexity; Clustering algorithms; Computational modeling; Computer science; Data structures; Extraterrestrial measurements; Force measurement; Gravity; Large-scale systems; Performance evaluation; Tree data structures;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Foundations of Computer Science, 1996. Proceedings., 37th Annual Symposium on
  • Conference_Location
    Burlington, VT
  • ISSN
    0272-5428
  • Print_ISBN
    0-8186-7594-2
  • Type

    conf

  • DOI
    10.1109/SFCS.1996.548481
  • Filename
    548481