A Hierarchical <E10>O</E10>(N) Force Calculation Algorithm
Abstract
A novel code for the approximate computation of long-range forces between N mutually interacting bodies is presented. The code is based on a hierarchical tree of cubic cells and features mutual cell-cell interactions which are calculated via a Cartesian Taylor expansion in a symmetric way, such that total momentum is conserved. The code benefits from an improved and simple multipole acceptance criterion that reduces the force error and the computational effort. For N>~104, the computational costs are found empirically to rise sublinearly with N. For applications in stellar dynamics, this is the first competitive code with complexity <E10>O</E10>(N) it is faster than the standard tree code by a factor of 10 or more. .
- Publication:
-
Journal of Computational Physics
- Pub Date:
- June 2002
- DOI:
- 10.1006/jcph.2002.7026
- arXiv:
- arXiv:astro-ph/0202512
- Bibcode:
- 2002JCoPh.179...27D
- Keywords:
-
- Astrophysics
- E-Print:
- 16 pages, 4 figures, accepted for publication: Journal of Computaional Physics