fmmgen: Automatic Code Generation of Operators for Cartesian Fast Multipole and Barnes-Hut Methods

arXiv:2005.12351 First posted 2020-05-25 v1 10 pages, 5 figures
Cite this paper ×
BibTeX
@misc{pepper2020fmmgen,
  title = {fmmgen: Automatic Code Generation of Operators for Cartesian Fast Multipole and Barnes-Hut Methods},
  author = {Ryan Alexander Pepper and Hans Fangohr},
  year = {2020},
  eprint = {2005.12351},
  archivePrefix = {arXiv},
  primaryClass = {physics.comp-ph},
  url = {https://arxiv.org/abs/2005.12351}
}
APA
Pepper, R. A., & Fangohr, H. (2020). fmmgen: Automatic Code Generation of Operators for Cartesian Fast Multipole and Barnes-Hut Methods [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2005.12351
GB/T 7714
PEPPER RA, FANGOHR H. fmmgen: Automatic Code Generation of Operators for Cartesian Fast Multipole and Barnes-Hut Methods[EB/OL]. (2020-05-25)[2026-11-29]. https://arxiv.org/abs/2005.12351.

Abstract

The Barnes-Hut and Fast Multipole Methods are widely utilised methods applied in order to reduce the computational cost of evaluating long range forces in N-body simulations. Despite this, applying existing libraries to simple problems with higher order source points, such as dipoles, is not straightforward or efficient because individual libraries are optimised towards specific problems, normally solving for the potential and field of a set of Coulombic particles. In this paper we detail the implementation and testing of a software package, fmmgen, in which the source code for Barnes-Hut and Fast Multipole operator functions for calculating calculate the potential, field or both from arbitrary ordered sources is easily generated through symbolic algebra.

Post #1 · the paper

Discussion

No comments yet. Start the discussion!