70 lines of NumPy

27 Nov 2014

We present a very concise but complete micromagnetic finite-difference code in only 70 lines of NumPy (without comments).
The code can be found on our GitHub page.
A description of the project is available on arXiv (arXiv:1411.7188).