Perf improvements
Improved performance by processing boundary conditions to memory before the simulation, by using simple integers for storing the location of particles, and by minimizing the amount of changes made to the lattice during a metropolis step. Performance was improved 10-fold.
Edited by Kalevi Kokko