Astrophysics
[Submitted on 19 Mar 1997]
Title:A comparison between Fast Multipole Algorithm and Tree-Code to evaluate gravitational forces in 3-D
View PDFAbstract: We present tests of comparison between our versions of the Fast Multipole Algorithm (FMA) and ``classic'' tree-code to evaluate gravitational forces in particle systems. We have optimized the Greengard's original version of FMA allowing for a more efficient criterion of well-separation between boxes, to improve the adaptivity of the method (which is very important in highly inhomogeneous situations) and to permit the smoothing of gravitational interactions. The results of our tests indicate that the tree-code is almost three times faster than FMA for both a homogeneous and a clumped distribution, at least in the interval of N (N< 10^5) here investigated and at the same level of accuracy (error ~ 10^{-3)). This order of accuracy is generally considered as the best compromise between CPU-time consumption and precision for astrophysical simulation. Moreover, the claimed linear dependence on N of the CPU-time of FMA is not confirmed and we give a ``theoretical'' explanation for that.
Submission history
From: R. Capuzzo-Dolcetta [view email][v1] Wed, 19 Mar 1997 18:13:38 UTC (58 KB)
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
IArxiv Recommender
(What is IArxiv?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.