A threaded Java concurrent implementation of the Monte-Carlo Metropolis Ising model.
- 1 June 2009
- journal article
- Vol. 2009, 103-110
Abstract
This paper describes a concurrent Java implementation of the Metropolis Monte-Carlo algorithm that is used in 2D Ising model simulations. The presented method uses threads, monitors, shared variables and high level concurrent constructs that hide the low level details. In our algorithm we assign one thread to handle one spin flip attempt at a time. We use special lattice site selection algorithm to avoid two or more threads working concurently in the region of the lattice that "belongs" to two or more different spins undergoing spin-flip transformation. Our approach does not depend on the current platform and maximizes concurrent use of the available resources.Keywords
This publication has 4 references indexed in Scilit:
- A Framework for Three-Dimensional Simulation of MorphogenesisIEEE/ACM Transactions on Computational Biology and Bioinformatics, 2005
- CompuCell, a multi-model framework for simulation of morphogenesisBioinformatics, 2004
- Parallel simulation of the Ising modelPhysical Review E, 1994
- Simulation of biological cell sorting using a two-dimensional extended Potts modelPhysical Review Letters, 1992