We present tests of comparison between our versions of the Fast Multipole Algorithm (FMA) and the tree-code to evaluate gravitational forces in particle systems. We have optimized 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 2–4 times faster than the FMA for clumped distributions and 3–9 times for homogeneous distributions, at least in the interval of N here investigated (N · 2 ¢ 105) 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 simulations. Moreover, the claimed linear dependence on N of the CPU-time of the FMA is not confirmed and we give a “theoretical” explanation for that.

A comparison between Fast Multipole Algorithm and Tree Code to evaluate Coulomb forces in 3-D / CAPUZZO DOLCETTA, Roberto Angelo; Miocchi, Paolo. - In: JOURNAL OF COMPUTATIONAL PHYSICS. - ISSN 0021-9991. - STAMPA. - 46:(1998), pp. 29-48. [10.1006/jcph.1998.5949]

A comparison between Fast Multipole Algorithm and Tree Code to evaluate Coulomb forces in 3-D

CAPUZZO DOLCETTA, Roberto Angelo;MIOCCHI, PAOLO
1998

Abstract

We present tests of comparison between our versions of the Fast Multipole Algorithm (FMA) and the tree-code to evaluate gravitational forces in particle systems. We have optimized 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 2–4 times faster than the FMA for clumped distributions and 3–9 times for homogeneous distributions, at least in the interval of N here investigated (N · 2 ¢ 105) 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 simulations. Moreover, the claimed linear dependence on N of the CPU-time of the FMA is not confirmed and we give a “theoretical” explanation for that.
1998
Methods: numerical - Multipole methods - N- body simulations
01 Pubblicazione su rivista::01a Articolo in rivista
A comparison between Fast Multipole Algorithm and Tree Code to evaluate Coulomb forces in 3-D / CAPUZZO DOLCETTA, Roberto Angelo; Miocchi, Paolo. - In: JOURNAL OF COMPUTATIONAL PHYSICS. - ISSN 0021-9991. - STAMPA. - 46:(1998), pp. 29-48. [10.1006/jcph.1998.5949]
File allegati a questo prodotto
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11573/97814
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 19
  • ???jsp.display-item.citation.isi??? 17
social impact