Simple magnetization for a single spin
Run in terminal: source .venv/bin/activate
python -m pip install numpy
python -m pip install math
python -m pip install matplotlib
cp params.example params.py
-
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