Cover
article
Butiran eJurnal
A full-fledged micromagnetic code in less than 70 lines of NumPy
HARVEST (oa) oa124525
category EJURNAL event 2014-11-26 open_in_new Buka Pautan
Tarikh
2014-11-26
Pencipta
Abert, Claas
Subjek
Computational Physics
Jenis
text
Pengenal (Identifier)
http://arxiv.org/abs/1411.7188 doi:10.1016/j.jmmm.2015.03.081
Sumber Harvest
ARXIV
Deskripsi
We present a complete micromagnetic finite-difference code in less than 70 lines of Python. The code makes largely use of the NumPy library and computes the exchange field by finite differences and the demagnetization field with a fast convolution algorithm. Since the magnetization in finite-difference micromagnetics is represented by a multi-dimensional array and the NumPy library features a rich interface for this data structure, the presented code is a good starting point for the development of novel algorithms.