LCAO-specific magnetic-moment calculation for DeltaSpin.
More...
LCAO-specific magnetic-moment calculation for DeltaSpin.
- Calculation methods
- cal_mi_lcao(): Uses the DeltaSpin operator to compute Tr(rho * mu) directly from the density matrix. This is the primary method.
- convert_orbital_matrix()/calculate_mw_from_orbitals(): Alternative path via the orbital multiplication matrix, mainly for debugging.
- collect_mw(): Accumulates mu*density-matrix contributions for distributed (ScaLAPACK) matrices.
- nspin=2 (collinear)
- Density matrix dmr[0] is spin-up, dmr[1] is spin-down. Mi is the difference (up - down), giving only the z-component.
- nspin=4 (non-collinear)
- Density matrix has 4 interleaved spinor components. The DeltaSpin operator decomposes them into charge and 3 magnetic components via Pauli matrix traces.