A MODIFIED TREE CODE - DONT LAUGH - IT RUNS

被引:120
|
作者
BARNES, JE [1 ]
机构
[1] INST ADV STUDY,PRINCETON,NJ 08540
关键词
D O I
10.1016/0021-9991(90)90232-P
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
I describe a modification of the Barnes-Hut tree algorithm together with a series of numerical tests of this method. The basic idea is to improve the performance of the code on heavily vector-oriented machines such as the Cyber 205 by exploiting the fact that nearby particles tend to have very similar interaction lists. By building an interaction list good everywhere within a cell containing a modest number of particles and reusing this interaction list for each particle in the cell in turn, the balance of computation can be shifted from recursive descent to force summation. Instead of vectorizing tree descent, this scheme simply avoids it in favor of force summation, which is quite easy to vectorize. A welcome side-effect of this modification is that the force calculation, which now treats a larger fraction of the local interactions exactly, is significantly more accurate than the unmodified method. © 1990.
引用
收藏
页码:161 / 170
页数:10
相关论文
共 50 条
  • [31] A modified TreePM code
    Khandai, Nishikanta
    Bagla, J. S.
    RESEARCH IN ASTRONOMY AND ASTROPHYSICS, 2009, 9 (08) : 861 - 873
  • [32] The Reflective Milawa Theorem Prover is Sound (Down to the Machine Code that Runs it)
    Jared Davis
    Magnus O. Myreen
    Journal of Automated Reasoning, 2015, 55 : 117 - 183
  • [33] A modified parallel tree code for N-body simulation of the large-scale structure of the universe
    Becciani, U
    Antonuccio-Delogu, V
    Gambera, M
    JOURNAL OF COMPUTATIONAL PHYSICS, 2000, 163 (01) : 118 - 132
  • [34] A tree code for planetesimal dynamics: comparison with a hybrid direct code
    Brunini, A
    Viturro, HR
    MONTHLY NOTICES OF THE ROYAL ASTRONOMICAL SOCIETY, 2003, 346 (03) : 924 - 932
  • [35] TREE CODE SIMULATIONS OF PLANETARY RINGS
    RICHARDSON, DC
    MONTHLY NOTICES OF THE ROYAL ASTRONOMICAL SOCIETY, 1994, 269 (02) : 493 - 511
  • [36] PARALLEL TREE TECHNIQUES AND CODE OPTIMIZATION
    DEKEL, E
    NTAFOS, S
    PENG, ST
    LECTURE NOTES IN COMPUTER SCIENCE, 1986, 227 : 205 - 216
  • [37] Bonsai: A GPU Tree-Code
    Bedorf, J.
    Gaburov, E.
    Portegies-Zwart, S.
    ADVANCES IN COMPUTATIONAL ASTROPHYSICS: METHODS, TOOLS AND OUTCOMES, 2012, 453 : 325 - 328
  • [38] Code Difference Visualization by a Call Tree
    Kamiya, Toshihiro
    2018 IEEE 12TH INTERNATIONAL WORKSHOP ON SOFTWARE CLONES (IWSC), 2018, : 60 - 63
  • [39] Code Summarization with Abstract Syntax Tree
    Chen, Qiuyuan
    Hu, Han
    Liu, Zhaoyi
    NEURAL INFORMATION PROCESSING, ICONIP 2019, PT V, 2019, 1143 : 652 - 660
  • [40] BAR CODE VS JANET TREE
    Ceria, Michela
    ATTI ACCADEMIA PELORITANA DEI PERICOLANTI-CLASSE DI SCIENZE FISICHE MATEMATICHE E NATURALI, 2019, 97 (02):