ericgossett / Ising2D

A 2D Ising model of ferromagnetism using the Metropolis algorthim.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ising2D

A 2D Ising model of ferromagnetism using the Metropolis Algorthim.

##Requirements

To graph the data using the python script plot.py the following libaries are required.

  • numpy
  • scipy
  • matplotlib

##Output

The program saves measurements to a csv file. This file is read by the plot.py script to plot the following graphs.

#####Figure One:

The plot above shows the magnetization per site while the plot below shows the enegry per site.

#####Figure Two:

The Above plot shows the specfic heat while below the magnetic suseptibility is displayed.

About

A 2D Ising model of ferromagnetism using the Metropolis algorthim.

License:GNU General Public License v2.0


Languages

Language:C++ 85.3%Language:Python 14.7%