The continuous form of the anisotropy energy is computed by integrating the anisotropy energy (Aharoni, 2000), which is in the form of either equation 2.5 or 2.8: