Skip to content.

PsiMag

Sections
Personal tools
You are here: Home

Ψ-Mag:

Document Actions



Welcome!

The Ψ-Mag toolkit is a C++ library for computational magnetism and serves as a prototype for a more general library for computational materials science (CMS). It's design is modeled and inspired by the generic programming techniques of the C++ standard template library (STL). *

Hands-On Tutorial

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.

http://mri-fre.ornl.gov/psimag
Updated:
Created by summers
Last modified 2006-01-30 18:43