Skip to content

The Ising model is a model of ferromagnetism. It consists of discrete variables that represent magnetic dipole moments of atomic spins that can be +1 or −1. The spins are arranged in a lattice, allowing each spin to interact with its neighbors. This simulation allows you to see an animation, where the spins are represented by white and black squ…

Notifications You must be signed in to change notification settings

tadeuscalvin/isingmodel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

isingmodel

  • Prerequisites:

    • Install glfw3:

      • "sudo apt-get install libglfw3-dev"
    • Install gcc:

      • "sudo apt-get install gcc"

To run:

gcc ising.c -lm

chmod +x DynSim.sh

./a.out | ./DynSim.sh -l 100

#where the last number is the side of the lattice, which by default is 100

About

The Ising model is a model of ferromagnetism. It consists of discrete variables that represent magnetic dipole moments of atomic spins that can be +1 or −1. The spins are arranged in a lattice, allowing each spin to interact with its neighbors. This simulation allows you to see an animation, where the spins are represented by white and black squ…

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published