Simple magnetization for a single spin
Run in terminal: source .venv/bin/activate
pip install numpy
pip install math
pip install matplotlib
-
Install xLaunch
-
Disable "Native opengl"
-
Enable "Disable access control"
-
Run in terminal:
export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0
Run in terminal python magnetization.py