Skip to main navigation Skip to search Skip to main content

jaxFMM: An adaptive, GPU-parallel implementation of the fast multipole method in JAX

Publications: Contribution to journal › Article › Peer Reviewed

Abstract

We introduce jaxFMM, an open-source, adaptive, highly parallel point-charge Fast Multipole Method implementation for the Laplace kernel written in JAX. It is based on a non-uniform refinement strategy with on-the-fly rotation-based transforms tailored around JAX’s just-in-time compiler, which results in extremely concise and simple code. Benchmarks show that the algorithm performs well at moderate accuracies, even for highly non-uniform charge distributions. JaxFMM already massively speeds up stray-field computations in micromagnetics and with JAX features like autodiff, novel applications such as inverse-design problems and machine-learning tasks can be tackled with ease in the future.

Original languageEnglish
Article number115130
Number of pages15
JournalJournal of Computational Physics
Volume564
DOIs
Publication statusPublished - 1 Nov 2026

Funding

This research was funded in whole, or in part, by the Austrian Science Fund (FWF) Grant-DOI 10.55776/P34671 and 10.55776/PIN1629824. The computational results presented were achieved using the Vienna Scientific Cluster (VSC-5). For the purpose of open access, the author has applied a CC BY public copyright license to any Author Accepted Manuscript version arising from this submission.

FundersFunder number
Fonds zur Förderung der wissenschaftlichen Forschung (FWF)10.55776/PIN1629824, 10.55776/P34671

Austrian Fields of Science 2012

  • 103043 Computational physics

Keywords

  • Coulomb potential
  • Fast multipole method
  • Interaction
  • JAX
  • Open source
  • Pairwise
  • Poisson equation

Cite this