# UppASD
**Repository Path**: wang-tx_1_0/UppASD
## Basic Information
- **Project Name**: UppASD
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: GPL-3.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2024-05-10
- **Last Updated**: 2025-11-21
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
UppASD
Uppsala Atomistic Spin Dynamics software
[](https://github.com/UppASD/UppASD/actions/workflows/binaries.yml)
[](https://github.com/UppASD/UppASD/actions/workflows/wheels.yml)
The `UppASD` software package is a simulation suite to study magnetization dynamics by means of the atomistic version of the Landau-Lifshitz-Gilbert (LLG) equation.
***Applications:***
- [Critical temperature][11] determination
- [Magnon spectra][7] simulations
- [Micromagnetic exchange and DMI stiffness][6] calculations
- [Current][9], [field][8], and [temperature-driven][5] dynamics
- [Linear spin wave theory][7] calculations
***Features:***
- [LLG][12], Metropolis, and Heat-bath algorithms
- Generalized Hamiltonian including
- bilinear and [biquadratic Heisenberg][10] exchange
- [Dzyaloshinskii-Moriya][15] exchange
- magnetocrystalline anisotropies.
- [Spin-lattice simulations][16]
- [Multiscale][18] functionalities
- Support for [arbitrary crystal structures][14] and [random alloys][13]
- [Spin-transfer][9] and spin-orbit torques
- [Temperature models][17] for ultrafast demagnetization simulations
- [Temperature gradients][4]
- [Quantum statistics][3]
Detailed information about the method can be found in
[**Atomistic Spin Dynamics: Foundations and Applications**
O. Eriksson et. al, Oxford University Press 2017][1]
---
# Installation:
## Precompiled binaries
Download and unpack a binary from the [Release][Release] page. Installers are available for Linux and Windows. After a successful installation, the code can be run by `uppasd` from the command line.
_Note: The pre-compiled binaries are not optimized, so building from source is recommended for production usage_
---
## Build from source
UppASD uses `cmake` for compiling the code. With `cmake` installed, UppASD can be compiled with
```
cmake -S . -B build
cmake --build build
```
which results in a compiled binary `uppasd` locade in the `./bin/` directory.
---
### Install as Python package (beta)
Python bindings for UppASD are available for installation using `pip` as follows
```python
python -m pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple uppasd
```
The `pip` installation also provides the binary `uppasd`.
---
# Examples and documentation
Examples are provided in the `./examples/` folder.
The code is documented in the [UppASD manual](https://uppasd.github.io/UppASD-manual/).
A tutorial with examples and exercises on atomistic spin-dynamics are contained in the [UppASD tutorial](https://uppasd.github.io/UppASD-tutorial/).
_For developers:_ Please look at the development guidelines in the `CONTRIBUTING.md` file, about how to make your contributions to UppASD.
---
# Graphical User Interface
A `python` based `QT` GUI, named `asd_gui`, for the code is also available in the repository.
The GUI allows for:
- Visualization of outputs via `VTK`.
- Plotting of several quantities via integrated `matplotlib` functionalities.
- Automatic generation of input files for `UppASD`.
## Installation Guide (pip)
The recommended way to use `asd_gui` is to install the offical version using `pip` as below:
```
pip install asd_gui
```
This will install the GUI as a Python module that is started by issuing the `asd_gui` command at the command prompt.
---
## Installation Guide (local)
For developing purposes, the GUI can also be installed from source using `pip`
```
cd ASD_GUI
pip install -e .
```
This install the GUI as an **editable** Python module that is started by issuing the `asd_gui` command at the command prompt.
---
(C) 2008-2024 [UppASD group][2]
[1]:https://global.oup.com/academic/product/atomistic-spin-dynamics-9780198788669
[2]:https://www.uu.se/en/department/physics-and-astronomy/research/materials-theory/code-development#svid12_21e11cd618fa418474b38bcd
[3]:https://journals.aps.org/prmaterials/abstract/10.1103/PhysRevMaterials.2.013802
[4]:https://journals.aps.org/prb/abstract/10.1103/PhysRevB.90.014434
[5]:https://www.nature.com/articles/ncomms12430
[6]:https://journals.aps.org/prb/abstract/10.1103/PhysRevB.92.214424
[7]:http://iopscience.iop.org/article/10.1088/0953-8984/27/24/243202/meta
[8]:https://journals.aps.org/prb/abstract/10.1103/PhysRevB.86.224401
[9]:https://www.nature.com/articles/srep25685
[10]:https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.111.127204
[11]:https://journals.aps.org/prb/abstract/10.1103/PhysRevB.93.214439
[12]:http://iopscience.iop.org/article/10.1088/0953-8984/20/31/315203
[13]:https://journals.aps.org/prb/abstract/10.1103/PhysRevB.94.214410
[14]:https://journals.aps.org/prb/abstract/10.1103/PhysRevB.92.094411
[15]:https://www.nature.com/articles/ncomms5815
[16]:https://journals.aps.org/prb/abstract/10.1103/PhysRevB.99.104302
[17]:https://journals.aps.org/prb/abstract/10.1103/PhysRevB.106.174407
[18]:https://journals.aps.org/prresearch/abstract/10.1103/PhysRevResearch.2.013092
[logo]:https://github.com/UppASD/UppASD/blob/master/docs/uppasd_rot.png
[Release]:https://github.com/UppASD/UppASD/releases