Spin model (source code)

= Spin model
{wiki}

A spin model assigns a discrete or continuous spin variable to each site of a <lattice> or vertex of a graph and gives interacting configurations a <Boltzmann factor>. Spin models describe collective order and phase transitions in magnetic and other many-body systems.