Abstract

view Abstract Citations (102) References (22) Co-Reads Similar Papers Volume Content Graphics Metrics Export Citation NASA/ADS Error Analysis of a Tree Code Barnes, Joshua E. ; Hut, Piet Abstract Novel algorithms called 'tree codes' are used to solve the gravitational N-body problem with computing time of order N log N or N instead of N-squared. A detailed analytic and numerical investigation of the error properties and performance of one such tree code, which is based on a hierarchical partition of space into cubical cells, is presented. The effect of replacing a distant cell containing many particles with a single point mass is considered, and it is found that the scaling of errors with opening angle and particle number can be well understood theoretically. The net effect of many such errors on the total force on a single particle within a large-N system is considered, and the cumulative effect of force- calculation errors on the trajectories of individual particles and the dynamical evolution of N-body systems is addressed. It is concluded that as a general class, tree codes appear to be the method of choice when modeling collisionless three-dimensional N-body systems with arbitrary geometry. Publication: The Astrophysical Journal Supplement Series Pub Date: June 1989 DOI: 10.1086/191343 Bibcode: 1989ApJS...70..389B Keywords: Computational Astrophysics; Error Analysis; Many Body Problem; Trees (Mathematics); Accuracy; Celestial Mechanics; Gravitational Effects; NUMERICAL ANALYSIS; NUMERICAL METHODS full text sources ADS |

Keywords

Tree (set theory)Code (set theory)AlgorithmMathematicsComputer scienceCombinatorics

Related Publications

From NBODY1 to NBODY6: The Growth of an Industry

I review the development of direct N‐body codes at Cambridge over nearly 40 years, highlighting the main stepping stones. The first code (NBODY1) was based on the simple concept...

1999 Publications of the Astronomical Soci... 464 citations

Publication Info

Year
1989
Type
article
Volume
70
Pages
389-389
Citations
107
Access
Closed

External Links

Social Impact

Altmetric

Social media, news, blog, policy document mentions

Citation Metrics

107
OpenAlex

Cite This

Joshua E. Barnes, Piet Hut (1989). Error analysis of a tree code. The Astrophysical Journal Supplement Series , 70 , 389-389. https://doi.org/10.1086/191343

Identifiers

DOI
10.1086/191343