Abstract
We have prepared a cosmological N-body code based on the Ahmad-Cohen method for vectorization on the FACOM VP-200 vector processor. The modifications are relatively simple, leaving the main algorithms essentially unchanged. Comparison with the scalar version shows an overall gain in speed of the particle integration exceeding a factor of 10 for test calculations with N=4000 particles. Similar principles can readily be applied to more complicated codes including two-body regularization, although the net gain will be somewhat less.
References
Aarseth, S.J. (1985). Multiple Time Scales, eds. J.U. Brackbill and B.I. Cohen, (Academic Press, New York), p. 377.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1986 Springer-Verlag
About this paper
Cite this paper
Aarseth, S.J., Inagaki, S. (1986). Vectorization of N-body codes. In: Hut, P., McMillan, S.L.W. (eds) The Use of Supercomputers in Stellar Dynamics. Lecture Notes in Physics, vol 267. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0116414
Download citation
DOI: https://doi.org/10.1007/BFb0116414
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-17196-6
Online ISBN: 978-3-540-47361-9
eBook Packages: Springer Book Archive