Towards an Adaptive Treecode for N-body Problems

N-body problems are notoriously expensive to compute. For N bodies, evaluating a sum directly scales like $${\mathcal {O}}(N^2)$$. A treecode approximation to the N-body problem is highly desirable because for a given level of accuracy, the computation scales instead like $${\mathcal {O}}(N\log {N})$$. A main component of the treecode approximation, is computing the Taylor coefficients and moments of a cluster–particle approximation. For the two-parameter family of regularized kernels previously introduced (Ong et al. in J Sci Comput 71(3):1212–1237, 2017. https://doi.org/10.1007/s10915-016-0336-0), computing the Taylor coefficients directly is algebraically messy and undesirable. This work derives a recurrence relationship and provides an algorithm for computing the Taylor coefficients of two-parameter family of regularized kernels. The treecode is implemented in Cartesian coordinates, and numerical results verify that the recurrence relationship facilitates computation of $$G^{\epsilon ,n}({\mathbf {x}})$$ and its derivatives.

[1]  Grégoire Winckelmans,et al.  Contributions to vortex particle methods for the computation of three-dimensional incompressible unsteady flows , 1993 .

[2]  Andrew Christlieb,et al.  A New Family of Regularized Kernels for the Harmonic Oscillator , 2017, J. Sci. Comput..

[3]  K. Lindsay,et al.  A particle method and adaptive treecode for vortex sheet motion in three-dimensional flow , 2001 .

[4]  A van Elteren,et al.  Multi-scale high-performance computing in astrophysics: simulating clusters with stars, binaries and planets , 2019, Philosophical Transactions of the Royal Society A.

[5]  Z. Duan,et al.  An adaptive treecode for computing nonbonded potential energy in classical molecular systems , 2001 .

[6]  A. Leonard Vortex methods for flow simulation , 1980 .

[7]  D. A. Dunnett Classical Electrodynamics , 2020, Nature.

[8]  D. D. Mueller,et al.  Fundamentals of Astrodynamics , 1971 .

[9]  John Langford,et al.  Cover trees for nearest neighbor , 2006, ICML.

[10]  John P. Verboncoeur,et al.  A treecode algorithm for simulating electron dynamics in a Penning-Malmberg trap , 2004, Comput. Phys. Commun..

[11]  Lukas Arnold,et al.  Towards a petascale tree code: Scaling and efficiency of the PEPC library , 2011, J. Comput. Sci..

[12]  Piet Hut,et al.  A hierarchical O(N log N) force-calculation algorithm , 1986, Nature.

[13]  I. Boyd,et al.  Grid-free plasma Simulation techniques , 2006, IEEE Transactions on Plasma Science.

[14]  C. Birdsall,et al.  Plasma Physics via Computer Simulation , 2018 .

[15]  R. Coifman,et al.  The fast multipole method for the wave equation: a pedestrian prescription , 1993, IEEE Antennas and Propagation Magazine.