Selected Methods in N-body Simulations
- Aleksy Balazinski
Abstract
This paper discusses the implementation of the particle-mesh (PM) and particle-particle particle-mesh (P3M) methods in the context of a spiral galaxy simulation. Simulations performed using both methods correctly predict the formation of characteristic spiral arms and demonstrate expected physical behavior, satisfying Newton’s second law and conserving energy and angular momentum. The PM code was written for both the CPU and GPU architectures, with the GPU version achieving threefold speedup compared to the multithreaded CPU implementation. We also describe and implement a method for lock-free parallelization of the short-range correction part of the P3M method on the CPU.
- Full Text:
PDF
- DOI:10.5539/apr.v17n1p225
Journal Metrics
Google-based Impact Factor (2017): 3.90
h-index (November 2017): 17
i10-index (November 2017): 33
h5-index (November 2017): 12
h5-median (November 2017): 19
Index
- Bibliography and Index of Geology
- Civil Engineering Abstracts
- CNKI Scholar
- CrossRef
- EBSCOhost
- Excellence in Research for Australia (ERA)
- Google Scholar
- Infotrieve
- LOCKSS
- NewJour
- Open J-Gate
- PKP Open Archives Harvester
- SHERPA/RoMEO
- Standard Periodical Directory
- Ulrich's
- Universe Digital Library
- WorldCat
Contact
- William ChenEditorial Assistant
- apr@ccsenet.org