A publishing partnership

A Very Fast and Momentum-conserving Tree Code

Published 2000 June 6 © 2000. The American Astronomical Society. All rights reserved. Printed in U.S.A.
, , Citation Walter Dehnen 2000 ApJ 536 L39 DOI 10.1086/312724

1538-4357/536/1/L39

Abstract

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 = 105 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.

Export citation and abstract BibTeX RIS

Please wait… references are loading.
10.1086/312724