Several methods exist for computing the magnetostatic field of a discretized magnetization distribution in micromagnetics. In principle, this field can be computed either from the magnetization or from its divergence, the equivalent magnetic charge density. However, these are computationally quite different, since for a flux-closure configuration, the magnetization can be very large, though the charge density and the resulting magnetostatic field are very small. In this paper we show how a fast multipole formulation, previously implemented to calculate the field from the magnetization density, can be modified to calculate the field from the magnetic charge density instead. We give examples of systems in which the charge formulation converges much faster (as the multipole order is increased) to the correct field than does the magnetization formulation. The fast multipole formulation (FMM) used in this paper is based on a Cartesian formulation of the FMM, for which we have developed several recursive techniques to simplify its implementation by eliminating hard coding of formulas.
[1]
Michael J. Donahue,et al.
COMPARISON OF MAGNETOSTATIC FIELD CALCULATION METHODS ON TWO-DIMENSIONAL SQUARE GRIDS AS APPLIED TO A MICROMAGNETIC STANDARD PROBLEM
,
1999
.
[2]
D. Apalkov,et al.
Micromagnetic simulation of thermal ripple in thin films: ''Roller-coaster'' visualization
,
2003
.
[3]
D. Apalkov,et al.
Simple iterative calculation of micromagnetic kernels
,
2003
.
[4]
Application of fast multipole method to micromagnetic simulation of periodic systems
,
2003,
Digest of INTERMAG 2003. International Magnetics Conference (Cat. No.03CH37401).
[5]
A. Hubert,et al.
Optimizing stray field computations in finite-element micromagnetics
,
1994
.
[6]
J. Slonczewski.
Current-driven excitation of magnetic multilayers
,
1996
.