English

Treecode2: The Power of Pluralism. I. Static Tests

Astrophysics of Galaxies 2026-02-09 v1

Abstract

I describe an `oct-tree' N-body code which randomly shifts, reorients, and resizes the root cell at each time step. Averaging over a plurality of root cell positions and orientations statistically restores translational and rotational invariance. The potentials and forces which result can be much more accurate than those obtained from a single force calculation. In this paper, the principle of averaging is tested on static configurations. The next paper will show how this technique can substantially improve global energy, momentum, and angular momentum conservation at a negligible computational cost.

Keywords

Cite

@article{arxiv.2602.06295,
  title  = {Treecode2: The Power of Pluralism. I. Static Tests},
  author = {Joshua E. Barnes},
  journal= {arXiv preprint arXiv:2602.06295},
  year   = {2026}
}

Comments

Accepted by MNRAS on 02-Feb-2026. 20 pages, 25 figures + supplementary material

R2 v1 2026-07-01T10:23:33.794Z