NeuralMag: an open-source nodal finite-difference code for inverse micromagnetics

Claas Abert, Florian Bruckner, Andrey Voronov, Martin Lang, Swapneel Amit Pathak, Samuel Holt, Robert Kraft, Ruslan Allayarov, Peter Flauger, Sabri Koraltan, Thomas Schrefl, Andrii Chumak, Hans Fangohr, Dieter Suess

Veröffentlichungen: Working PaperPreprint

Abstract

We present NeuralMag, a flexible and high-performance open-source Python library for micromagnetic simulations. NeuralMag leverages modern machine learning frameworks, such as PyTorch and JAX, to perform efficient tensor operations on various parallel hardware, including CPUs, GPUs, and TPUs. The library implements a novel nodal finite-difference discretization scheme that provides improved accuracy over traditional finite-difference methods without increasing computational complexity. NeuralMag is particularly well-suited for solving inverse problems, especially those with time-dependent objectives, thanks to its automatic differentiation capabilities. Performance benchmarks show that NeuralMag is competitive with state-of-the-art simulation codes while offering enhanced flexibility through its Python interface and integration with high-level computational backends.
OriginalspracheEnglisch
HerausgeberarXiv
PublikationsstatusEingereicht - 18 Nov. 2024

ÖFOS 2012

  • 103017 Magnetismus

Fingerprint

Untersuchen Sie die Forschungsthemen von „NeuralMag: an open-source nodal finite-difference code for inverse micromagnetics“. Zusammen bilden sie einen einzigartigen Fingerprint.

Zitationsweisen