The tutorial is designed to give a rapid introduction to
performing spin simulations using the Ψ-Mag toolkit.
The tutorial assumes a basic understanding of object oriented
programming, templates in C++, and the Heisenberg model.
A pdf document
explaining the tutorial codes is available.
Two downloads are needed for the tutorial. The first is the
Ψ-Mag toolkit itself,
and the second are the specific
hands-on tutorial codes. After
downloading and uncompressing these tarfiles, create two directories:
psimag and tutorial. Change into the psimag
directory and untar psimag.tar. To build the toolset
- Define the variable CC in GenericMakefile.Vars to specify your compiler.
- Define the variable GMAKE in Config to your executable for gnu make.
- type "./Config". This constructs a complete psimag/include directory.
(It will also build the library libpsimag.a, but the library is
not required for the tutorial.)
Now change into the tutorial directory (which should be
at the same level in the directory tree as psimag) and
untar hands-on.tar. The tutorial examples will be in separate
directories: one each for the Heisenberg model, Ising model, and the
Wang-Landau method.