Running

flatspin comes with flexible tools for running simulations from the command-line or directly from a Python environment.

Running from the command line

Use flatspin-run to run one simulation, for example:

flatspin-run -o myrun -m SquareSpinIceClosed -e sin -p H=7 -p phi=45 -p periods=1