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 条
  • [41] Code selection by tree series transducers
    Borchardt, B
    IMPLEMENTATION AND APPLICATION OF AUTOMATA, 2005, 3317 : 57 - 67
  • [42] THE TALKING TREE, OR DONT BELIEVE EVERYTHING YOU HEAR - HIMMELMAN,J
    SEBESTA, SL
    READING TEACHER, 1986, 40 (03): : 348 - 353
  • [43] APPROXIMATE TREE MATCHING IN THE PRESENCE OF VARIABLE-LENGTH DONT CARES
    ZHANG, KZ
    SHASHA, D
    WANG, JTL
    JOURNAL OF ALGORITHMS, 1994, 16 (01) : 33 - 66
  • [44] A MODIFIED TREE-TO-TREE CORRECTION PROBLEM
    WILHELM, R
    INFORMATION PROCESSING LETTERS, 1981, 12 (03) : 127 - 132
  • [45] Simple, low-power μp runs x86 code
    Myrvaagnes, R
    ELECTRONIC PRODUCTS MAGAZINE, 2000, 42 (10): : 23 - 24
  • [46] Code2tree: A Method for Automatically Generating Code Comments
    Wen, Wanzhi
    Chu, Jiawei
    Zhao, Tian
    Zhang, Ruinian
    Zhi, Bao
    Shen, Chenqiang
    SCIENTIFIC PROGRAMMING, 2022, 2022
  • [47] Recent advances in the study of the Dandelion Code, Happy Code, and Blob Code spanning tree representations
    Paulden, Tim
    Smith, David K.
    2006 IEEE CONGRESS ON EVOLUTIONARY COMPUTATION, VOLS 1-6, 2006, : 2096 - +
  • [48] New code match strategy for wideband code division multiple access code tree management
    杨宗凯
    刘光然
    何建华
    Journal of Central South University of Technology(English Edition), 2006, (03) : 265 - 269
  • [49] New code match strategy for wideband code division multiple access code tree management
    Zong-kai Yang
    Guang-ran Liu
    Jian-hua He
    Journal of Central South University of Technology, 2006, 13 : 265 - 269
  • [50] New code match strategy for wideband code division multiple access code tree management
    Yang, Zong-kai
    Liu, Guang-ran
    He, Jian-hua
    JOURNAL OF CENTRAL SOUTH UNIVERSITY OF TECHNOLOGY, 2006, 13 (03): : 265 - 269