abacus-develop icon indicating copy to clipboard operation
abacus-develop copied to clipboard

Output Hamiltonian SOC and non-SOC part separately

Open Shen-Zhen-Xiong opened this issue 1 year ago • 1 comments

Background

Magnetic anisotropy energy(MAE) and Dzyaloshinskii-Moriya interaction (DMI) can be calculated through Green’s function method. Recently, the interface from ABACUS to TB2J had been completed, if we can output Hamiltonian SOC and non-SOC part separately, MAE and DMI can be calculted more easily, which can rich magnetic calculation functions. 1713491867383 SIA_DMI_PhysRevB.89.214422.pdf

Describe the solution you'd like

Can we add a parameter in INPUT file, like "out_mat_hs2_soc", if "out_mat_hs2_soc=1", output Hamiltonian SOC part, file name like "data-HR-sparse_SPIN0_SOC.csr" which data format shoud be same with "data-HR-sparse_SPIN0.csr".

Task list only for developers

  • [ ] Notice possible changes of behavior
  • [ ] Explain the changes of codes in core modules of ESolver, HSolver, ElecState, Hamilt, Operator or Psi

Shen-Zhen-Xiong avatar Apr 19 '24 02:04 Shen-Zhen-Xiong

Since it is not an emergent issue, I will close it.

mohanchen avatar Nov 23 '24 09:11 mohanchen