Abstract

One of the main problems of modern codes for solving the N-body problem is their great similarity. The immediate consequence of this is that the usual method of checking the simulation results by comparing independent approaches is hardly possible. The requirement for accurate calculation of gravitational force does not imply the need to use a unique approach. An approximate calculation of gravitational forces between N interacting particles can be used. For example, an approximate method with high accuracy is the fast multipole method (FMM) that requires only  operations instead of  to calculate the forces all N particles. FMM groups particles into spatially bounded cells and uses intercellular interactions to approximate forces at any position in the receiver cell using the Taylor extension obtained from the multipole extension of the original cell. Using the error estimate of this process it is possible to minimize the calculations while obtaining the relative errors N≳105. The article provides a brief analysis of N-body modeling methods and shows that the FMM approximates the calculation of mutual forces between particles and the problem under consideration is formulated much easier than, for example, in the case of softened gravity.

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

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.