Speeding up N-body Calculations on Machines without Hardware Square Root
The most time consuming part of an N-body simulation is computing the components of the accelerations of the particles. On most machines the slowest part of computing the acceleration is in evaluating r-3/2, which is especially true on machines that do the square root in software. This note shows how to cut the time for this part of the calculation by a factor of 3 or more using standard Fortran.
1992 ◽
Vol 139
(6)
◽
pp. 505
◽
1987 ◽
Vol 134
(2)
◽
pp. 94
Keyword(s):
2019 ◽
Vol E102.A
(1)
◽
pp. 307-309
◽
Keyword(s):