Comparison of two different tree algorithms
Comparison of two different tree algorithms
复制标题
两种不同树算法的比较
DOI:
10.1016/0021-9991(90)90186-5
复制
发表时间:
1990
影响因子:
4.1
通讯作者:
J. Makino
中科院分区:
文献类型:
--
作者:
J. Makino
The efficiency of two different algorithms of hierarchical force calculation is discussed. Both algorithms utilize the tree structure to reduce the cost of the force calculation fromO(N2) toO(NlogN). The only difference lies in the method of the construction of the tree. One algorithm uses the oct-tree, which is the recursive division of a cube into eight subcubes. The other method makes the tree by repeatedly replacing a mutually nearest pair in the system by a super-particle. Numerical experiments showed that the cost of the force calculation using these two schemes is quite similar for the same relative accuracy of the obtained force. The construction of the mutual-nearest-neighbor tree is more expensive than the construction of the oct-tree roughly by a factor of 10. On the conventional mainframes this difference is not important because the cost of the tree construction is only a small fraction of the total calculation cost. On vector processors, the oct-tree scheme is currently faster because the tree construction is relatively more expensive on the vector processors.