English

CUDA programs for GPU computing of Swendsen-Wang multi-cluster spin flip algorithm: 2D and 3D Ising, Potts, and XY models

Computational Physics 2014-04-01 v1 Statistical Mechanics

Abstract

We present sample CUDA programs for the GPU computing of the Swendsen-Wang multi-cluster spin flip algorithm. We deal with the classical spin models; the Ising model, the qq-state Potts model, and the classical XY model. As for the lattice, both the 2D (square) lattice and the 3D (simple cubic) lattice are treated. We already reported the idea of the GPU implementation for 2D models [Comput. Phys. Commun. 183 (2012) 1155-1161]. We here explain the details of sample programs, and discuss the performance of the present GPU implementation for the 3D Ising and XY models. We also show the calculated results of the moment ratio for these models, and discuss phase transitions.

Keywords

Cite

@article{arxiv.1403.7560,
  title  = {CUDA programs for GPU computing of Swendsen-Wang multi-cluster spin flip algorithm: 2D and 3D Ising, Potts, and XY models},
  author = {Yukihiro Komura and Yutaka Okabe},
  journal= {arXiv preprint arXiv:1403.7560},
  year   = {2014}
}

Comments

arXiv admin note: text overlap with arXiv:1202.0635

R2 v1 2026-06-22T03:37:47.047Z