Title :
Flexible fast multipole method for magnetic simulations
Author :
Brown, Gregory ; Schulthess, Thomas C. ; Apalkov, D.M. ; Visscher, P.B.
Author_Institution :
Center for Comput. Sci., Oak Ridge Nat. Lab., TN, USA
fDate :
7/1/2004 12:00:00 AM
Abstract :
The public-domain ψ-Mag toolset uses generic-programming techniques to provide the computational magnetic-materials community an excellent opportunity for code reuse without loss of efficiency. ψ-Mag provides a flexible implementation of the fast multipole method (FMM) for dipole-dipole calculations that does not depend on the geometry of the problem and is suitable for high-performance, parallel computers. Theoretically, the execution time for such a calculation should grow only linearly with the number of spins, and this is confirmed here for up to order 105 spins. In addition, the implementation efficiently uses a large number of processors. For a test case of 64 000 dipoles, the measured speedup is over 25 for 40 processors on a four-processor-per-node IBM SP; this compares quite favorably with less-flexible FMM implementations. The generic implementation allows for easy changes of the basis functions used to expand potentials specific to particular applications, facilitating direct comparison of different approaches. Here, the traditional spherical-harmonic expansions are compared to Cartesian expansions which reflect the cubic symmetries of meshes used in typical micromagnetic simulations.
Keywords :
distributed algorithms; magnetic materials; mesh generation; micromagnetics; software reusability; Cartesian expansions; basis functions; code reuse; computational magnetic-materials; cubic symmetries; dipole-dipole calculations; distributed algorithms; execution time; flexible fast multipole method; flexible implementation; generic implementation; generic programming; high-performance computers; meshes; micromagnetic simulations; parallel computers; public-domain toolset; spherical-harmonic expansions; test case; Acceleration; Boundary conditions; Computational modeling; Computer science; Concurrent computing; Laboratories; Magnetostatics; Mathematics; Solid modeling; US Department of Energy; Distributed algorithms; fast multipole method; generic programming;
Journal_Title :
Magnetics, IEEE Transactions on
DOI :
10.1109/TMAG.2004.829023