Accelerating NBODY6 with a graphics processing unit-enabled Particle-Particle Particle-Tree scheme
Abstract
We describe a modified version of the NBODY6 code for simulating star clusters which greatly improves computational efficiency while sacrificing little in the way of accuracy. The distant force calculator is replaced by a graphics processing unit-enabled Barnes-Hut code, and integration is done with a standard leap frog scheme. Short-range forces continue to use the CPU-based fourth-order Hermite predictor-corrector scheme of NBODY6. Our code outperforms NBODY6 for systems with more than 3 × 105 particles and runs more than a factor 2 faster for systems of 106 particles with similar energy conservation. Our code should be useful for simulating realistic dense stellar clusters, such as globular clusters or galactic nuclei.
- Publication:
-
Monthly Notices of the Royal Astronomical Society
- Pub Date:
- January 2022
- DOI:
- arXiv:
- arXiv:2110.11658
- Bibcode:
- 2022MNRAS.509.2075A
- Keywords:
-
- globular clusters: general;
- gravitation;
- methods: numerical;
- software: simulations;
- Astrophysics - Instrumentation and Methods for Astrophysics
- E-Print:
- 9 pages, 14 figures