A very fast and momentum-conserving tree code

被引:143
作者
Dehnen, W [1 ]
机构
[1] Max Planck Inst Astron, D-69117 Heidelberg, Germany
关键词
celestial mechanics; stellar dynamics; methods : n-body simulations; methods : numerical;
D O I
10.1086/312724
中图分类号
P1 [天文学];
学科分类号
0704 ;
摘要
The tree code for the approximate evaluation of gravitational forces is extended and substantially accelerated by including mutual cell-cell interactions. These are computed by a Taylor series in Cartesian coordinates and in a completely symmetric fashion, such that Newton's third law is satisfied by construction and that therefore momentum is exactly conserved. The computational effort is further reduced by exploiting the mutual symmetry of the interactions. For typical astrophysical problems with N = 10(5) and at the same level of accuracy, the new code is about 4 times faster than the tree code. For large N, the computational costs are found to scale almost linearly with N, which can also be supported by a theoretical argument, and the advantage over the tree code increases with ever larger N.
引用
收藏
页码:L39 / L42
页数:4
相关论文
共 10 条
[1]   A HIERARCHICAL O(N-LOG-N) FORCE-CALCULATION ALGORITHM [J].
BARNES, J ;
HUT, P .
NATURE, 1986, 324 (6096) :446-449
[2]   A MODIFIED TREE CODE - DONT LAUGH - IT RUNS [J].
BARNES, JE .
JOURNAL OF COMPUTATIONAL PHYSICS, 1990, 87 (01) :161-170
[3]   DYNAMIC MASS EXCHANGE IN DOUBLY DEGENERATE BINARIES .1. 0.9 AND 1.2 M STARS [J].
BENZ, W ;
BOWERS, RL ;
CAMERON, AGW ;
PRESS, WH .
ASTROPHYSICAL JOURNAL, 1990, 348 (02) :647-667
[4]   A comparison between the fast multipole algorithm and the tree-code to evaluate gravitational forces in 3-D [J].
Capuzzo-Dolcetta, R ;
Miocchi, P .
JOURNAL OF COMPUTATIONAL PHYSICS, 1998, 143 (01) :29-48
[5]   A fast adaptive multipole algorithm in three dimensions [J].
Cheng, H ;
Greengard, L ;
Rokhlin, V .
JOURNAL OF COMPUTATIONAL PHYSICS, 1999, 155 (02) :468-498
[6]  
DEHNEN W, 2000, UNPUB MNRAS
[7]   A FAST ALGORITHM FOR PARTICLE SIMULATIONS [J].
GREENGARD, L ;
ROKHLIN, V .
JOURNAL OF COMPUTATIONAL PHYSICS, 1987, 73 (02) :325-348
[8]   AN ANALYTICAL MODEL FOR SPHERICAL GALAXIES AND BULGES [J].
HERNQUIST, L .
ASTROPHYSICAL JOURNAL, 1990, 356 (02) :359-364
[9]   SKELETONS FROM THE TREE-CODE CLOSET [J].
SALMON, JK ;
WARREN, MS .
JOURNAL OF COMPUTATIONAL PHYSICS, 1994, 111 (01) :136-155
[10]   A PORTABLE PARALLEL PARTICLE PROGRAM [J].
WARREN, MS ;
SALMON, JK .
COMPUTER PHYSICS COMMUNICATIONS, 1995, 87 (1-2) :266-290