| Literature DB >> 21814633 |
Carlos Castañeda-Marroquín, Alfonso Ortega de la Puente, Manuel Alfonseca, James A Glazier, Maciej Swat.
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.Entities:
Year: 2009 PMID: 21814633 PMCID: PMC3148013
Source DB: PubMed Journal: Int Work Conf Interp Nat Artif Comput