Skip to content

vataspro/Ising2D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2D Ising Model in C++

Generate simple 2D Ising Model data with perdiodic boundary conditions using the Metropolis algorithm in C++.

Compiling

To compile the project simply use:

make

Usage

To call the program from the terminal:

./exec L beta H N_cfg

Where:

  • int L the size of the square lattice side in lattice units.
  • double beta is the inverse temperature.
  • double H is the external magnetic field.
  • int N_cfg the number of configurations to generate.

About

Simple 2D Ising Model code in C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors