This is a Markov Chain Monte Carlo simulation of the 2D Ising Model in C++. The dependencies are NumCPP and CMake (for building, using GCC). Build and compile the project by changing the the build directory
% cd build
% cmake ..
Running the binary with parameters run.dat
./ISING metropolis 32 1.0 0.0 run.dat
or the Heat bath method
./ISING heatbath 32 1.0 0.0 run.dat
If number of args are incorrect, the console will display
USAGE: <metropolis/heatbath> <lattice dim> <J> <B> <file>
These plots are excerpts generated from the simulation data