Tree data structures for N-body simulation

被引:17
作者
Anderson, RJ [1 ]
机构
[1] Univ Washington, Dept Comp Sci & Engn, Seattle, WA 98195 USA
关键词
N-body simulation; Barnes-Hut algorithm; spatial data structures;
D O I
10.1137/S0097539797326307
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
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 Theta(n log(3) n log L) compared with Theta(n log L) 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 safe to use tight bounding boxes only for binary decompositions. The results are all directly applicable to practical implementations of N-body algorithms.
引用
收藏
页码:1923 / 1940
页数:18
相关论文
共 19 条
[1]  
ANDERSON RJ, 1996, UNPUB EXPT STUDY TRE
[2]  
[Anonymous], 1989, The Design and Analysis of Spatial Data Structures
[3]   AN EFFICIENT PROGRAM FOR MANY-BODY SIMULATION [J].
APPEL, AW .
SIAM JOURNAL ON SCIENTIFIC AND STATISTICAL COMPUTING, 1985, 6 (01) :85-103
[4]   A HIERARCHICAL O(N-LOG-N) FORCE-CALCULATION ALGORITHM [J].
BARNES, J ;
HUT, P .
NATURE, 1986, 324 (6096) :446-449
[5]  
BLELLOCH G, 1995, UNPUB PRACTICAL COMP
[6]  
BOARD JA, 1994, 94006 DUK U DEP EL E
[7]  
BOARD JA, 1994, 94002 DUK U DEP EL E
[8]   A DECOMPOSITION OF MULTIDIMENSIONAL POINT SETS WITH APPLICATIONS TO K-NEAREST-NEIGHBORS AND N-BODY POTENTIAL FIELDS [J].
CALLAHAN, PB ;
KOSARAJU, SR .
JOURNAL OF THE ASSOCIATION FOR COMPUTING MACHINERY, 1995, 42 (01) :67-90
[9]  
Clarkson K. L., 1983, 24th Annual Symposium on Foundations of Computer Science, P226, DOI 10.1109/SFCS.1983.16
[10]  
DIKAIAKOS M, 1995, PERFORMANCE STUDY CO