A Very Fast and Momentum-conserving Tree Code
Related Experiment Video
Updated: Oct 16, 2026

A Practical Guide to Phylogenetics for Nonexperts
Published on: February 5, 2014
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.
Related Concept Videos
Fast Decoupled and DC Powerflow
Survival Tree
Building a Survival Tree
Constructing a survival tree begins...
Gene Evolution - Fast or Slow?
In contrast, regions which code...
Gene Evolution - Fast or Slow?
In contrast, regions which code...
Newton’s Method
Impulse-Momentum Theorem
By writing Newton's second law of motion in terms of the momentum of an object and the external force acting on it, and simultaneously using the definition of the impulse vector, it can be shown that the total impulse on an object is equal to its net...
