You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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…
This repository contains a C implementation of the Ising model simulation, a mathematical model in statistical mechanics describing ferromagnetism. The simulation utilizes the Metropolis algorithm to update the spins of a 2D lattice. The visualization is done using the SDL2 library, allowing for real-time rendering of the Ising model evolution.