

INSTRUCTIONS  for Ising Model Applet


To work with this applet, you will need to have a java compiler
on your computer.  If you have a Linux or Mac OS X system, you 
have this already.  If you have a Windows system, you can download
a free Java development system from Sun: http://java.sun.com/ .


If you are equipped with Java, you can run the program by carrying
out the following steps:

 1. Type   javac Ising.java  .  This will compile the program.
 2. Type   appletviewer Ising.html   or access Ising.html
          with your web browser. This will launch the program.
 3. When you launch the program and click the button "Run", the 
          program will begin to update the spins.  The updating will
          continue until you press "Stop".   When you do this, the
          current spin configuration will be displayed as a 
          static configuration.
 4. The temperature T is controlled dynamically by the slidebar.

Now you can modify the program.  I hope that it will be self-explanatory
  to modify  Ising.java.  DO NOT TOUCH IsingGUI.java.

Ising.java contains three subroutines used by the main program: 
 
    solve()  is the function actually called by the "Run" button.

    H(m,n,S) is the function that computes the local energy.  Use 
        the value of this function to decide whether to flip a spin.

    computeEnergy()  computes the average energy per site in the lattice.
