|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
LCAO-specific magnetic-moment calculation for DeltaSpin, expressed as free functions over ScState. More...
Go to the source code of this file.
LCAO-specific magnetic-moment calculation for DeltaSpin, expressed as free functions over ScState.
Keeping these as free functions decouples the LCAO path from the SpinConstrain singleton: the only inputs are the constraint state (ScState), the LCAO operator, the density matrix and the parallel orbitals mapping.