Treecode solver for the calculation of demagnetizing field in general domains

The calculation of the demagnetizing field is the performance bottleneck in micromagnetic simulations that solve the Landau-Lifshitz-Gilbert equation. Although treecode is already recognized as a competitive method, achieving an O(Nlog_{8}N) algorithm for general domains remains highly challenging. In our work, we tackle two essential parts of the treecode calculation: constructing high-quality non-neighbor element patches and performing multipole expansions. For each of these crucial components, we provide robust and accurate solutions. Regarding the construction of non-neighbor elements, we have thoroughly harnessed the potential of the hierarchy geometry tree data structure. By leveraging this structure, we successfully build high-quality non-neighbor element patches for each element, striking an excellent balance between computational complexity and accuracy. In the multipole expansion part, we systematically analyze the errors arising from multipole expansions and propose a p-adaptive method based on this error analysis, further enhancing computational efficiency. Our numerical results highlight the strengths of the proposed algorithm: in general domains, we achieve the O(Nlog_{8}N) complexity of the treecode algorithm. Moreover, the p-adaptive method effectively improves the simulation efficiency of mainstream issues such as magnetic skyrmions, showing great promise for becoming a quality candidate in computational micromagnetics.

Authors

Institutions

Publication Details

Journal
Physical review. E
Published
2025-11-06
DOI
https://doi.org/10.1103/k2xd-r5f8
Primary Topic
Magnetic properties of thin films
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Treecode solver for the calculation of demagnetizing field in general domains

Lei Yang, Guanghui Hu, Zixuan Cui
Physical review. E
Magnetic properties of thin films
article

Treecode solver for the calculation of demagnetizing field in general domains

Lei Yang, Guanghui Hu, Zixuan Cui
article en

Abstract

The calculation of the demagnetizing field is the performance bottleneck in micromagnetic simulations that solve the Landau-Lifshitz-Gilbert equation. Although treecode is already recognized as a competitive method, achieving an O(Nlog_{8}N) algorithm for general domains remains highly challenging. In our work, we tackle two essential parts of the treecode calculation: constructing high-quality non-neighbor element patches and performing multipole expansions. For each of these crucial components, we provide robust and accurate solutions. Regarding the construction of non-neighbor elements, we have thoroughly harnessed the potential of the hierarchy geometry tree data structure. By leveraging this structure, we successfully build high-quality non-neighbor element patches for each element, striking an excellent balance between computational complexity and accuracy. In the multipole expansion part, we systematically analyze the errors arising from multipole expansions and propose a p-adaptive method based on this error analysis, further enhancing computational efficiency. Our numerical results highlight the strengths of the proposed algorithm: in general domains, we achieve the O(Nlog_{8}N) complexity of the treecode algorithm. Moreover, the p-adaptive method effectively improves the simulation efficiency of mainstream issues such as magnetic skyrmions, showing great promise for becoming a quality candidate in computational micromagnetics.

Physical review. EVol. 112(5)
Macau University of Science and Technology (MO), University of Macau (MO)
Openalex Percentile: Top 74%
Magnetic properties of thin films
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.