Monte Carlo Simulation


Introduction

This applet demonstrates three algorithms on the Ising model: Metropolis's method, Swendsen and Wang's algorithm, and Wolff's algorithm. Metropolis's algorithm is called single spin flip algorithm. SW and Wolff's algorithm is called cluster algorithm. Cluster algorithm can dramatically reduce the effects of critical slowing down and have been applied for many models.


Description of this applet

Center panel is a lattice, its size is 32x32. Spin's color are red and white. Black lines in center panel is boundary of cluster. Right pole is temparature meter, its unit is Tc=2/ln(1+sqrt 2). You can change temparature, when you push mouse button in meter.

Button:  "Change"  ---  Change algorithm.
         "Run"     ---  Auto mode ON.
         "Stop"    ---  Auto mode OFF.      
         "Step"    ---  Go one step.