dipole¶
Magnetic dipole-dipole interactions
- where
\(r_{\rm cutoff}\) is a spherical cutoff radius for the interaction
\(\mu_{s,i}\) is the magnetic moment of spin \(i\) in Bohr magnetons
\(\mu_0 = 4\pi\times 10^{-7} ~ {\rm H/m}\) is the vacuum permeability
\(\mathbf{S}_{i}\) is a classical spin vector of unit length
\(\mathbf{r}_{ij} = \mathbf{r}_{j} - \mathbf{r}_{i}\) is the vector from site \(i\) to site \(j\) in meters
\(\hat{\mathbf{r}}_{ij}\) is unit vector in the direction of \(\mathbf{r}_{ij}\)
The factor of \(\tfrac{1}{2}\) accounts for double counting.
Variants¶
There are multiple dipole Hamiltonians which perform the same calculation but xusing different methods which may be optimal for different solver types, for example Monte Carlo solvers need to calculate energy differences one at a time, but a dynamical solver can have all fields calculated simultaneously.
-
dipole-bruteforce
A naive evaluation of the double sum. Lowest memory usage but very slow. Useful mostly for testing correctness of more complex methods.
-
dipole-neartree
A semi-bruteforce method which uses a fast dynamic neighbour lookup (the near tree). It has low memory usage but is slower than the more memory hungry methods. Useful for Monte Carlo when limited by memory.
-
dipole-neighbour-list
A middle point between the dipole-neartree and the dipole-tensor. It stores the full neighbour list and \(\hat{\mathbf{r}}_{ij}\) but calculates each the dipole expression each time. Uses about 1/3 of the memory of the dipole-tensor and is much faster than dipole-neartree. Often an optimal choice for Monte-Carlo if enough memory is available.
-
dipole-tensor
Stores the full dipole interaction tensor (i.e. with all the dipole terms precomputed). Extremely expensive in memory but very fast. Only really useful for small systems or short \(r_{\rm cutoff}\).
-
dipole-fft
Calculates the dipole tensor in Fourier space and applies it using convolution theorem. Very efficient in memory and very fast, but calculates all spins simultaneously. This overhead makes it too slow for Monte-Carlo, but very efficient for dynamical solvers.
Settings¶
-
r_cutoff
Spherical cutoff radius for dipole interactions in units of lattice parameters