Finite difference micromagnetic solver
Project description
mumax⁺
A versatile and extensible GPU-accelerated micromagnetic simulator written in C++ and CUDA with a Python interface. This project is in development alongside mumax³. If you have any questions, feel free to use the mumax⁺ GitHub Discussions.
Installation instructions, documentation, tutorials and examples can be found on the mumax⁺ website.
Paper
mumax⁺ is described in the following paper:
mumax+: extensible GPU-accelerated micromagnetics and beyond
Please cite this paper if you would like to cite mumax⁺. All demonstrations in the paper were simulated using version v1.1.0 of the code. The scripts used to generate the data can be found in the paper2025 directory under the paper2025 tag.
Installation
See INSTALL.md or the mumax⁺ website for full instructions, covering the 3 main ways you can run/install mumax⁺:
- online through Google Colab,
- installing pre-built wheels from the GitHub releases,
- building from source.
Documentation
Documentation for mumax⁺ can be found at http://mumax.github.io/plus.
It follows the NumPy style guide and is generated using Sphinx. You can build it yourself by running the following command in the docs/ directory:
make html
The documentation can then be found at docs/_build/html/index.html. However, to generate the class diagrams you should be on a Linux device and first install clang-uml otherwise they will not be generated.
Examples
Lots of example codes are located in the examples/ directory. They are either simple Python scripts, which can be executed inside said directory like any Python script
python standardproblem4.py
or they are interactive notebooks (.ipynb files), which can be run using Jupyter.
Testing
Several automated tests are located inside the test/ directory. Type pytest inside the terminal to run them. Some are marked as slow, such as test_mumax3_standardproblem5.py. You can deselect those by running pytest -m "not slow". Tests inside the test/mumax3/ directory require external installation of mumax³. They are marked by mumax3 and can be deselected in the same way.
Floating-point precision
mumax⁺ can use either single or double floating-point precision.
This can be controlled by the command-line argument --mumaxplus-fp-precision and/or the environment variable MUMAXPLUS_FP_PRECISION.
See this tutorial page or example notebook for more details.
Contributing
Contributions are gratefully accepted. To contribute code, fork our repo on GitHub and send a pull request.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mumaxplus-1.2.1.tar.gz.
File metadata
- Download URL: mumaxplus-1.2.1.tar.gz
- Upload date:
- Size: 11.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c62098dd4431df16f8ce67471e3f6af6d128aa2c6f9e17ab02697554673f94aa
|
|
| MD5 |
773043dac1e4a6d94126c9b7a542b6b0
|
|
| BLAKE2b-256 |
2cb2a4fecff3af8b2ce83d8f82e5d7e9e3d17a9694433e328ade5dc4fb0968b2
|
File details
Details for the file mumaxplus-1.2.1-cp314-cp314-win_amd64.whl.
File metadata
- Download URL: mumaxplus-1.2.1-cp314-cp314-win_amd64.whl
- Upload date:
- Size: 271.6 MB
- Tags: CPython 3.14, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
869b0dde54920511ea33fbdfbc625806398eff74ebf03a044f122ab53bee7ec9
|
|
| MD5 |
a70c551f0230deeeeab97c40ca266d7f
|
|
| BLAKE2b-256 |
96c75d20496cf3945b98a2e644b4953bad4bb7a99e4cfcaf1b6db4a496cc584d
|
File details
Details for the file mumaxplus-1.2.1-cp314-cp314-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: mumaxplus-1.2.1-cp314-cp314-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 272.3 MB
- Tags: CPython 3.14, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20236550035b1c0898594f176472df3e63f66e44ee6835d58f8b82a471452639
|
|
| MD5 |
ae3c33c93ae90928484e6ef97ddb1c52
|
|
| BLAKE2b-256 |
f073b6e81228751cc52857f59800f69de98eff56be7d25b82d49582b4e8b087f
|
File details
Details for the file mumaxplus-1.2.1-cp313-cp313-win_amd64.whl.
File metadata
- Download URL: mumaxplus-1.2.1-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 270.1 MB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a790fd448aa85dac2fc2c570eb5531f7f8257c55482ff0cbd01c9d47d912b41
|
|
| MD5 |
ad11e9a1a8b50a12e1a99b0c1c76b66a
|
|
| BLAKE2b-256 |
b9cc814decda298376c98401a8f86369e30e7045fb9a4da2ef4767d5188aea9a
|
File details
Details for the file mumaxplus-1.2.1-cp313-cp313-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: mumaxplus-1.2.1-cp313-cp313-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 272.3 MB
- Tags: CPython 3.13, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f34ab16cc97aa7d86061ba52ace0901bd1968500adb48746d25b83ee230fb64
|
|
| MD5 |
defc35201f8bc2eeb6638fa13af210da
|
|
| BLAKE2b-256 |
4a0da0d9f6b44058f0fcef3792453924511b9a9f6d1a95e13e473ad2f45b931d
|
File details
Details for the file mumaxplus-1.2.1-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: mumaxplus-1.2.1-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 270.1 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2998cf885635b9a714837a57c783b38ecfaa0ef63ab5b8cfaa3c4190ba3d858
|
|
| MD5 |
fff3aaa6f39039c8a1c21813afd5406f
|
|
| BLAKE2b-256 |
b620d1a23369be76597e96333f1a91014b3e4937f3bd3401de2557a1667c4283
|
File details
Details for the file mumaxplus-1.2.1-cp312-cp312-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: mumaxplus-1.2.1-cp312-cp312-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 272.3 MB
- Tags: CPython 3.12, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27e2f284881c09169ef17ae56dc5dd19ebba28aa137250cd7eaedaa190ab59b1
|
|
| MD5 |
b11d6a9b7fde877c77e5fd8ca263bfe3
|
|
| BLAKE2b-256 |
e96beb779083b18ab556c10f3bd626e42b924fb27985075dc33b0782ed929ff3
|
File details
Details for the file mumaxplus-1.2.1-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: mumaxplus-1.2.1-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 270.1 MB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5f15fdd0d919d50d6a2947a9e03c0380be960382769a2af830e41f41e20312b
|
|
| MD5 |
7ec8b0b60a229e47c1f44fb302556f5c
|
|
| BLAKE2b-256 |
174acefb9e0335b66eb2b0cc65ffed7db90e6071c548f492ea39ebd2f6b97a09
|
File details
Details for the file mumaxplus-1.2.1-cp311-cp311-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: mumaxplus-1.2.1-cp311-cp311-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 272.3 MB
- Tags: CPython 3.11, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1b7de47708315307bf3da01da5b10f4150b769a777faf54db75f2913bc35e7d
|
|
| MD5 |
9ad390c230153ae508c40aeb7f08f210
|
|
| BLAKE2b-256 |
5697b4376b223c86f238b03dff4775d1eadad0bca37c63f02a00d193d0c88358
|