fmmgen: Automatic Code Generation of Operators for Cartesian Fast Multipole and Barnes-Hut Methods
arXiv: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 -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.
10 pages, 5 figures
References in corpus (6)
- OpenSBLI: A framework for the automated derivation and parallel execution of finite difference solvers on a range of computer architectures
- Loop Tiling in Large-Scale Stencil Codes at Run-time with OPS
- The Fast Multipole Method and Point Dipole Moment Polarizable Force Fields
- Adaptation and Performance of the Cartesian Coordinates Fast Multipole Method for Nanomagnetic Simulations
- Effect of Meltdown and Spectre Patches on the Performance of HPC Applications
- Inexact Krylov iterations and relaxation strategies with fast-multipole boundary element method