flatspin is a GPU-accelerated simulator for systems of interacting nanomagnet spins arranged on a 2D lattice, also known as Artificial Spin Ice (ASI). flatspin can simulate the dynamics of large ASI systems with thousands of interacting elements. flatspin is written in Python and uses OpenCL for GPU acceleration. flatspin comes with extra bells and whistles for analysis and visualization. flatspin is open-source software and released under a GNU GPL license

Some example ASI systems are shown below:


Ready to learn more? Head over to Installation to download and install flatspin. Then dive into the Quickstart to get started using the simulator.