Abstract

During the last decades, Multigrid methods have been extensively used for solving large sparse linear systems. Considering their efficiency and the convergence behavior, Multigrid methods are used in many scientific fields as solvers or preconditioners. Herewith, we propose two hybrid parallel algorithms forN-Body simulations using the Particle Mesh method and the Particle Particle Particle Mesh method, respectively, based on the V-Cycle Multigrid method in conjunction with Generic Approximate Sparse Inverses. TheN-Body problem resides in a three-dimensional torus space, and the bodies are subject only to gravitational forces. In each time step of the above methods, a large sparse linear system is solved to compute the gravity potential at each nodal point in order to interpolate the solution to each body. Then the Velocity Verlet method is used to compute the new position and velocity from the acceleration of each respective body. Moreover, a parallel Multigrid algorithm, with a truncated approach in the levels computed in parallel, is proposed for solving large linear systems. Furthermore, parallel results are provided indicating the efficiency of the proposed MultigridN-Body scheme. Theoretical estimates for the complexity of the proposed simulation schemes are provided.

Highlights

  • The simulation of an N-Body system is referred to as a dynamical system of bodies influenced by mainly the gravitational force

  • The long range force is computed with the Particle Mesh method, and the short range force is computed via the Particle Particle method leading to more accurate results; compare [1,2,3,4]

  • In order to accelerate the convergence of the Multigrid method, the Dynamic Over/Under Relaxation (DOUR) scheme is used in conjunction with the Generic Approximate Sparse Inverse (GenAspI) matrix

Read more

Summary

Introduction

The simulation of an N-Body system is referred to as a dynamical system of bodies influenced by mainly the gravitational force. In order to accelerate the convergence of the Multigrid method, the Dynamic Over/Under Relaxation (DOUR) scheme is used (cf [24]) in conjunction with the Generic Approximate Sparse Inverse (GenAspI) matrix (cf [25]). We propose a new hybrid parallel algorithm for computing the gravity potential using the Particle Mesh and the P3M methods and the Multigrid V-Cycle method in conjunction with the GenAspI (GenAspI-MGV) method to accelerate the solution of the linear system. Numerical results on the performance and convergence behavior of the proposed N-Body GenAspI-MGV algorithms are presented for solving three-dimensional NBody simulation problems on a hybrid system and on Symmetric Multiprocessing Units for both PM and P3M methods. The parallel truncated V-Cycle Multigrid algorithm with GenAspI parallel smoothing (cf. [15, 22, 25, 34, 39]) has been given in [39]

Parallel Particle Mesh Type Algorithms
Numerical Results
Conclusion
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call