Skip to content

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 squar…

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages