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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Abert, Claas, Bruckner, Florian, Voronov, Andrey, Lang, Martin, Pathak, Swapneel Amit, Holt, Samuel, Kraft, Robert, Allayarov, Ruslan, Flauger, Peter, Koraltan, Sabri, Schrefl, Thomas, Chumak, Andrii, Fangohr, Hans, Suess, Dieter
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916804442456064
author Abert, Claas
Bruckner, Florian
Voronov, Andrey
Lang, Martin
Pathak, Swapneel Amit
Holt, Samuel
Kraft, Robert
Allayarov, Ruslan
Flauger, Peter
Koraltan, Sabri
Schrefl, Thomas
Chumak, Andrii
Fangohr, Hans
Suess, Dieter
author_facet Abert, Claas
Bruckner, Florian
Voronov, Andrey
Lang, Martin
Pathak, Swapneel Amit
Holt, Samuel
Kraft, Robert
Allayarov, Ruslan
Flauger, Peter
Koraltan, Sabri
Schrefl, Thomas
Chumak, Andrii
Fangohr, Hans
Suess, Dieter
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2411_11725
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle NeuralMag: an open-source nodal finite-difference code for inverse micromagnetics
Abert, Claas
Bruckner, Florian
Voronov, Andrey
Lang, Martin
Pathak, Swapneel Amit
Holt, Samuel
Kraft, Robert
Allayarov, Ruslan
Flauger, Peter
Koraltan, Sabri
Schrefl, Thomas
Chumak, Andrii
Fangohr, Hans
Suess, Dieter
Computational Physics
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.
title NeuralMag: an open-source nodal finite-difference code for inverse micromagnetics
topic Computational Physics
url https://arxiv.org/abs/2411.11725