A $p$-Adaptive Treecode Solution of the Poisson Equation in the General Domain

Authors

DOI:

https://doi.org/10.4208/cicp.OA-2024-0320

Keywords:

Treecode, $p$-Adaptive method, hierarchy geometry tree, Poisson equation

Abstract

Raising the order of the multipole expansion is a feasible approach for improving the accuracy of the treecode algorithm. However, a uniform order for the expansion would result in the inefficiency of the implementation, especially when the kernel function is singular. In this paper, a $p$-adaptive treecode algorithm is designed to resolve the efficiency issue for problems defined on a general domain. Such a $p$-adaptive method is realized through i). conducting a systematical error analysis for the treecode algorithm, ii). designing a strategy for a non-uniform distribution of the order of multipole expansion towards a given error tolerance, and iii). employing a hierarchy geometry tree structure for coding the algorithm. The proposed $p$-adaptive treecode algorithm is validated by a number of numerical experiments, from which the desired performance is observed successfully, i.e., the computational complexity is reduced dramatically compared with the uniform order case, making our algorithm a competitive one for bottleneck problems such as the demagnetizing field calculation in computational micromagnetics.

Author Biographies

  • Zixuan Cui

    School of Computer Science and Engineering, Macau University of Science and Technology, Macao SAR 999078, China

  • Lei Yang

    School of Computer Science and Engineering, Macau University of Science and Technology, Macao SAR 999078, China
    Macau University of Science and Technology Zhuhai MUST Science and Technology Research Institute, Zhuhai 519031, China

Published

2025-09-18

Abstract View

  • 4095

Pdf View

  • 291

Issue

Section

Articles

How to Cite

A $p$-Adaptive Treecode Solution of the Poisson Equation in the General Domain. (2025). Communications in Computational Physics, 38(5), 1331-1354. https://doi.org/10.4208/cicp.OA-2024-0320