Skip to content

fockl/MOCA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maintainability Test Coverage Scrutinizer Code Quality Build Status GitHub issues GitHub forks GitHub stars GitHub license Twitter

MOCA

Monte Carlo Simulator

result

Table of Contents

Installation

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

Usage

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 :

    • Ising model:

    • XY model:

  • Update

    You can select the update algorithm:

License

MIT

Link

MOCA's page is HERE

References

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

About

Monte Carlo Simulator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published