Publication Information
J. H. Reif and S. R. Tate. N-Body Simulation I: Fast Algorithms for Potential Field Evaluation and Trummer's Problem, in UNT Computer Science Technical Report N-96-002, 1996. GeometryReport
Abstract
In this paper, we describe a new approximation algorithm for the -body problem. The algorithm is a non-trivial modification of the fast multipole method that works in both two and three dimensions. Due to the equivalence between the two-dimensional -body problem and Trummer’s problem, our algorithm also gives the fastest known approximation algorithm for Trummer’s problem.
Let be the sum of the absolute values of the particle charges in the -body problem under consideration (or the sum of the masses if the simulation is gravitational). To approximate the particle potentials with error bound , we let and give complexity bounds in terms of . Note that, under reasonable assumptions on the particle charges, if we desire the output to be accurate to bits, then . In two dimensions, our algorithm runs in time , which is a substantial improvement over the previous best algorithm which requires time. We also apply our new algorithm to the three dimensional problem and get a new algorithm that has time complexity , an improvement over the best previously-known three-dimensional algorithm which requires time. Our algorithms do not make any assumptions about the input distribution, and are true worst-case bounds.