Computational Nanoscience, Lecture 12: In-Class Simulation of Ising Model