https://github.com/rushingfox/2d-ising-model-by-mcmc
CUHK PHYS4061 Computational Physics Project B; from two approaches: SSF and Wolff
https://github.com/rushingfox/2d-ising-model-by-mcmc
algorithm computational-physics solid-physics
Last synced: about 1 month ago
JSON representation
CUHK PHYS4061 Computational Physics Project B; from two approaches: SSF and Wolff
- Host: GitHub
- URL: https://github.com/rushingfox/2d-ising-model-by-mcmc
- Owner: rushingfox
- License: apache-2.0
- Created: 2023-01-09T15:43:19.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-09T16:23:29.000Z (almost 3 years ago)
- Last Synced: 2023-08-09T15:25:19.173Z (about 2 years ago)
- Topics: algorithm, computational-physics, solid-physics
- Language: C++
- Homepage:
- Size: 19.1 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 2D Ising model by MCMC (from two approaches: SSF and Wolff)
## A quick introduction
2D Ising model is one of the simplest physical models could show phase transition. Analytical solution of it has been proposed by Onsager, but we could also use simulation way to solve it. Here we use two Markov Chain Monte Carlo algorithms, the first of which is Single Spin Flip (SSF) based on Metropolis Algorithm, and the second one is one of the cluster flip algorithms-Wolff Algorithm. Wolff Algorithm has better performance than SSF.
## Method
See *1.1 MC: Monte Carlo method* in the report.
## Problem
See *1.2 Ising Model* in the report.
## About the organization of all the files
See *1.3 Organization of my code files* in the report.
## Maybe the most interesting point for CS majors: The Knowledge in Data Structure Course makes sense!
See *3.1.4 FIFO working better for cluster growing mechanism: we could give a rough proof* in the report.