PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
April 24, 2026Mathematics0 citationsOpen Access

On Parallel and Distributed N-Body Simulations

View Full Paper
ABAlexander BrandtDalhousie University

Key Points

  • This work aims to improve the efficiency of N-body simulations using advanced parallel and distributed algorithms.
  • Explored algorithmic techniques for the Barnes–Hut algorithm specific to parallel and distributed computing.
  • Implemented costzones and hashed octree techniques in gravitational N-body simulations.
  • Unified over 30 years of research to create a comprehensive framework for simulation.
  • Demonstrated improved parallelism in N-body simulations using new techniques.
  • Reduced inter-process communication requirements for better computational performance.
  • Achieved more efficient simulations even with large body counts in a distributed context.

Abstract

The N-body problem is a classic problem involving a system of N discrete bodies mutually interacting in a dynamical system. At any moment in time there are N(N−1)/2 such interactions occurring. This N2 scaling leads to computational difficulties where simulations range from tens of thousands of bodies to billions or trillions. Approximation algorithms, such as the famous Barnes–Hut algorithm, simplify the number of interactions to scale as NlogN. Even still, this improvement in complexity is insufficient to achieve the desired performance for very large simulations on computing clusters with many nodes and many cores. In this work we explore a variety of algorithmic techniques for parallel and distributed variations on the Barnes–Hut algorithm to improve parallelism and reduce inter-process communication requirements. This includes the costzones and hashed octree techniques. We implement these techniques in a gravitational N-body simulation and show that they can be applied to both a parallel and distributed context. This work collects and unifies over 30 years of research, while filling in missing details, to provide a comprehensive and reproducible source.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Alexander Brandt (2026) studied this question.

synapsesocial.com/papers/69eb0bc7553a5433e34b55f3https://doi.org/10.3390/math14091403
Ask AI
Helpful
Bookmark
Share
View Full Paper