RUS  ENG
Full version
JOURNALS // Proceedings of the Institute for System Programming of the RAS // Archive

Proceedings of ISP RAS, 2023 Volume 35, Issue 6, Pages 213–234 (Mi tisp843)

Effective implementation of the fast multipole method for particle interaction with Newtonian potential

V. M. Aushev

Bauman Moscow State Technical University

Abstract: We consider rotation-based fast multipole method for the Laplace equation and its application in cases where particle interactions are governed by the Biot—Savart law. The paper presents the necessary formulas for algorithm implementation and addresses less frequently discussed topics, such as the normalization of spherical harmonics and the associated Wigner matrices normalization. The main focus of the paper is devoted to describing the details of the software implementation that significantly accelerate the performance of the code both on CPU and GPU (using CUDA technology). We provide a comprehensive explanation of proposed techniques and include code examples. We have implemented a C++ program using these methods and conducted a comparative analysis with open-source implementations of the fast multipole method, confirming the high efficiency of our approach.

Keywords: fast multipole method, Wigner matrices, Morton tree, SIMD, CUDA, open source libraries

DOI: 10.15514/ISPRAS-2023-35(6)-14



© Steklov Math. Inst. of RAS, 2024