pele.potentials.HeisenbergModel.getEnergy#

HeisenbergModel.getEnergy(coords)[source]#

coords is a list of (theta, phi) spherical coordinates of the spins where phi is the azimuthal angle (angle to the z axis)