The gravitational interaction is a one of the most
important physical processes in astrophysics, especially
in the studies of the formation of stars, galaxies and the
large-scale structure in the universe. Numerical studies
of such self-gravitating objects are manifestly carried
out with N-body simulations, in which mass distribution of
dark matter and baryons are represented with a number of
super-particles and compute their orbits by computing
gravitational forces among them. However, such
calculations of gravitational forces are quite demanding
and time consuming. We develop a numerical library
"Phantom-GRAPE" to compute the gravitational forces
among many particles quite efficiently. In the
"Phantom-GRAPE" library, we utilize the
Single-Instruction-Multi-Data (SIMD) extensions of
computer processors, which perform the same operations on
multiple data simultaneously. Thus, the performance of the
"Phantom-GRAPE" is much higer than that obatined with the
conventional implementation. Following two papers are
helpful to understand the detailed implementation of
Phantom-GRAPE library.
The package of "Phantom-GRAPE" is available at Bitbucket repository .
As of December 2018, Phantom-GRAPE supports the AVX-512
instruction set, the lastest SIMD instruction set
available on x86 microprocessors, which is briefly introduced in
a paper in Research Note of the AAS.