Monte Carlo Simulator
The only thing you have to do to use MOCA is the following 3 step:
$ git clone https://github.com/fockl/MOCA.git
$ cd MOCE
$ open index.html
If you want to use MOCA without downloading, go HERE
You can manage some parameters.
-
Inverse temperature
You can choose the inverse temperature
$\beta$ between 0 and 1 with a slide bar or by setting numbers -
Size
You can select any length of the square by this parameter. Note that the more large size you choose, the more time to draw the spins and calculate the update is required.
-
Shape
You can select the form of the spins drawn in the square. "Arrow" shows the arrow shape, and "Block" shows the block shape. In both cases, you can check the directions of spins by their colors. (Block shapes take less time to be drawn than Arrow shapes)
-
Model
You can choose one of the following models :
-
Update
You can select the update algorithm:
-
Local update:
In the local update, a heat-bath update is used in the Ising model because of the educational reason at
$\beta = 0$ . In the XY model, a similar purpose, Meslopolis-like heat-bath update (randomly choose the next angle, and update with heat bath probability) is used. -
Wolff update:
In the Wolff update, you can use the Wolff algorithm in Ising and XY models.
see Comparison between cluster Monte Carlo algorithms in the Ising model
-
Event-chain update (XY model only):
In the XY model, you can use the Event-chain update.
see Event-chain Monte Carlo for classical continuous spin models
or Event-chain Monte Carlo for classical continuous spin models (arXiv)
-
MOCA's page is HERE
U. Wolff, Comparison between cluster Monte Carlo algorithms in the Ising model, Physics Letters B 228, 379 (1989). https://www.sciencedirect.com/science/article/abs/pii/0370269389915633
U. Wolff, Collective Monte Carlo Updating for Spin Systems, Phys. Rev. Lett. 62, 361 (1989). https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.62.361
M. Michel, J. Mayer, W. Krauth, Event-chain Monte Carlo for classical continuous spin models, Europhys. Lett. 112, 2 (2015). https://iopscience.iop.org/article/10.1209/0295-5075/112/20003/meta
M. Michel, J. Mayer, W. Krauth, Event-chain Monte Carlo for classical continuous spin models, arXiv:1508.06541 https://arxiv.org/pdf/1508.06541.pdf