High-performance computing simulations of self-gravity in astronomical agglomerates
This article describes the advances in the design, implementation, and evaluation of efficient algorithms for self-gravity simulations in astronomical agglomerates. Three algorithms are presented and evaluated: the occupied cells method, and two variations of the Barnes–Hut method using an octal and a binary tree. Two scenarios are considered in the evaluation: two agglomerates orbiting each other and a collapsing cube. The results show that the proposed octal tree Barnes–Hut method allows improving the performance of the self-gravity calculation up to 100 times with respect to the occupied cells method, while having good numerical accuracy. The proposed algorithms are efficient and accurate methods for self-gravity simulations in astronomical agglomerates.