3.50 Spin texture and magnetocrystalline anisotropy energy
This section collects two spin–orbit-coupling-related analysis capabilities in FHI-aims. Spin texture characterizes the spin polarization of individual electronic states through expectation values of the Pauli matrices, whereas magnetocrystalline anisotropy energy (MAE) compares the spin–orbit-coupled band energies obtained for different magnetization directions, which can be used to approximate the corresponding total energy difference. The two quantities use different analysis procedures but both rely on the spin–orbit coupling infrastructure described in Sec. 3.9.
Currently, the non-selfconsistent version of spin-orbit coupling, via the include_spin_orbit keyword, is supported.
The required keywords and additional numerical settings for spin texture and magnetic anisotropy are shown below.
Warning: This functionality has been tested for periodic structures but not for non-periodic, i.e., molecular or cluster calculations.
Tags for general section of control.in:
Tag: calculate_mae(control.in)
Usage: calculate_mae flag
Purpose: Enable the calculation of the magnetocrystalline anisotropy
energy between two user-defined magnetization directions.
flag : Logical flag, .true. or .false..
Default: .false.
FHI-aims can evaluate the magnetocrystalline anisotropy energy (MAE) between two user-defined magnetization directions using the non-self-consistent second-variational spin-orbit coupling (SOC) framework. The SOC Hamiltonian is constructed and diagonalized separately for the two specified magnetization directions, and the corresponding SOC band energies are compared.
The MAE functionality requires include_spin_orbit. Two magnetization directions must be specified using mae_axis.
When calculate_mae is set to .true., two second-variational SOC calculations are performed using the directions specified by mae_axis 1 and mae_axis 2. Both axes must be provided. The calculation will stop if include_spin_orbit is not enabled or if either MAE axis is missing.
Important: For metallic systems, the MAE is very sensitive to the k_grid density and extremely well converged k_grid settings can be required to get converged answers. The reason is that the magnetic behaviour of ferromagnetic metals is determined by very fine features of the density of states around the Fermi level. Thus, standard settings that give a reasonably well converged overall total energy may not be nearly enough for a well converged MAE.
Tag: mae_axis(control.in)
Usage: mae_axis index nx ny nz
Purpose: Specify Cartesian magnetization directions of the MAE calculation.
index : Integer identifying the direction. Allowed values are
1 and 2.
nx, ny, nz : Cartesian components of the
magnetization direction. Only the direction of the vector is
relevant.
The two axes define the order of the reported energy difference. FHI-aims reports the SOC band-energy difference according to
| (3.260) |
Thus, a positive value means that axis 2 has a higher SOC band energy than axis 1. when axis 1 is the easy direction and axis 2 the hard direction, the MAE is positive
For example, the following input evaluates the energy difference between magnetization along the Cartesian and directions,
include_spin_orbit calculate_mae .true. mae_axis 1 0.0 0.0 1.0 mae_axis 2 1.0 0.0 0.0
corresponding to
| (3.261) |
Tag: use_spin_texture(control.in)
Usage: use_spin_texture Estart Eend
Purpose: Calculate the spin texture of bands that fall in the designated
energy range defined by Estart and Eend.
Estart : lower bound of the energy range of bands for
which the spin texture will be calculated. Estart is
defined with reference to the
Fermi level (electronic chemical potential) calculated internally by
FHI-aims. Unit: eV
Eend : upper bound of the energy range of bands for
which the spin texture will be calculated. Eend is
defined with reference to the
Fermi level (electronic chemical potential) calculated internally by
FHI-aims. Unit: eV
This flag is presently based on the perturbative spin-orbit coupling method. Therefore, you should in the same time set:
relativistic atomic_zora scalar
Since the use_spin_texture keyword is computed on bands, you should also set:
or
If you wish to compute the spin texture of the S.C.F. k-grid, please see the keyword use_spin_texture_scf.
Spin texture is defined as the expectation value of the vector of Pauli matrices. The complete formulae we use, with examples, are given in the methods section and supporting information of Ref. [163]. By setting this flag, the code will calculate the expectation values for three components (, , and ), which can help understand the spin polarization behaviour of individual bands. The values are printed out in separate files named spin_texture.out and spin_texture.dat which contain the same kind of data but simply in different formats.
Please note that for degenerate eigenstates on symmetric k-points, the value of the spin texture will be meaningless, since for these states the eigenvectors are arbitrary. Because the eigenvectors are arbitrary, different eigensolvers will output different eigenvectors, and the eigenvectors will also be different on different hardware or for calculations with different numbers of tasks. As of version 250304 the spin_texture.dat additionally contains the k-points in relative coordinates of the reciprocal basis vectors (i.e. how they are specified in an output band command) to allow more straightforward determination of the symmetric k-points. The symmetric k-points are those which correspond to relative fractional k-vectors of the form [0 0 ], [0 ], or [ ] for some .
As of version 250224 use_spin_texture can be used in combination with the ScaLAPACK eigensolver (KS_method parallel). Previously, only use of the LAPACK eigensolver (KS_method serial) in combination with use_spin_texture was possible.
Tag: use_spin_texture_scf(control.in)
Usage: use_spin_texture_scf Estart Eend
Purpose: Calculate the spin texture of the S.C.F. k-grid in the designated
energy range defined by Estart and Eend.
Estart : lower bound of the energy range of eigenstates for
which the spin texture will be calculated. Estart is
defined with reference to the
Fermi level (electronic chemical potential) calculated internally by
FHI-aims. Unit: eV
Eend : upper bound of the energy range of eigenstates for
which the spin texture will be calculated. Eend is
defined with reference to the
Fermi level (electronic chemical potential) calculated internally by
FHI-aims. Unit: eV
Like the use_spin_texture keyword, use_spin_texture_scf is presently based on the perturbative spin-orbit coupling method. Therefore, you should in the same time set:
relativistic atomic_zora scalar
Also analogous to the use_spin_texture keyword, the three components (, , and ), are printed out in separate files named spin_texture_scf.out and spin_texture_scf.dat.
As of version 250304, use_spin_texture_scf can be used in combination with the ScaLAPACK eigensolver (KS_method parallel).