전산물리학:울프_군집_셈법_wolff_cluster_algorithm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
전산물리학:울프_군집_셈법_wolff_cluster_algorithm [2022/01/16 22:22] jonghoon전산물리학:울프_군집_셈법_wolff_cluster_algorithm [2023/09/05 15:46] (current) – external edit 127.0.0.1
Line 10: Line 10:
 결과적으로 아래와 같은 그림처럼 한 스텝에 입자들이 군집을 이뤄서 뒤집히게 된다. 결과적으로 아래와 같은 그림처럼 한 스텝에 입자들이 군집을 이뤄서 뒤집히게 된다.
  
-<color #ffffff>.................................</color> +{{ :전산물리학:wolff_cluster.png?400 |}}
-{{:전산물리학:wolff_cluster.png?400|}}+
  
 다음은 울프 셈법으로 주기적 경계(periodic boundary)를 갖는 128$\times$128 크기의 정사각 격자(square latice)에서 단계(step)별 자화(magnetization)를 구하고 파일로 내보내는 C++코드이다. 초기 상태는 모두가 한 방향으로 정렬되어 있는 상태다. 다음은 울프 셈법으로 주기적 경계(periodic boundary)를 갖는 128$\times$128 크기의 정사각 격자(square latice)에서 단계(step)별 자화(magnetization)를 구하고 파일로 내보내는 C++코드이다. 초기 상태는 모두가 한 방향으로 정렬되어 있는 상태다.
  
-<Code:C++>+<code:C++ | wolff.cpp>
 #include <fstream> #include <fstream>
 #include <cmath> #include <cmath>
Line 123: Line 122:
     m = abs(m);     m = abs(m);
 } }
-</Code>+</code>
  
 ======함께 보기====== ======함께 보기======
 [[물리:2차원 이징 모형]] [[물리:2차원 이징 모형]]
  • 전산물리학/울프_군집_셈법_wolff_cluster_algorithm.1642339323.txt.gz
  • Last modified: 2023/09/05 15:46
  • (external edit)