Possible bug in mlwf.F of vasp6.3 for non-collinear calculations
Posted: Sun Mar 13, 2022 4:11 am
Dear Developers,
I think that the following instruction, in mlwf.F of vasp 6.3 at the line 1125, contains a bug:
MLWF%LPRJ_functions(IS)%spin_qaxis = proj_s_qaxisx(3,IS)
Indeed, spin_qaxis is a three-components vectors containing the spin-quantization axis of the projectors. After the above instruction, all these components will assume the same value proj_s_qaxisx(3,IS), as for example read from the wannier90.win file. In other words, the default values spin_qaxis=(0,0,1) are always overwritten to spin_qaxis=(1,1,1). Most probably, the correct line code should be
MLWF%LPRJ_functions(IS)%spin_qaxis = proj_s_qaxisx(:,IS)
If what I write is correct, it means that the spin-full Wannier hamiltonians wannier90_hr.dat created by wannier90 from vasp 6.3 AMN files have an unexpected spin-quantization axis. This may be problematic for the calculation and interpretation of quantities of interest for topological systems, such as spin-expectation values and spin-Berry curvature.
Looking forward to hearing from you,
Best regards,
Domenico Di Sante
I think that the following instruction, in mlwf.F of vasp 6.3 at the line 1125, contains a bug:
MLWF%LPRJ_functions(IS)%spin_qaxis = proj_s_qaxisx(3,IS)
Indeed, spin_qaxis is a three-components vectors containing the spin-quantization axis of the projectors. After the above instruction, all these components will assume the same value proj_s_qaxisx(3,IS), as for example read from the wannier90.win file. In other words, the default values spin_qaxis=(0,0,1) are always overwritten to spin_qaxis=(1,1,1). Most probably, the correct line code should be
MLWF%LPRJ_functions(IS)%spin_qaxis = proj_s_qaxisx(:,IS)
If what I write is correct, it means that the spin-full Wannier hamiltonians wannier90_hr.dat created by wannier90 from vasp 6.3 AMN files have an unexpected spin-quantization axis. This may be problematic for the calculation and interpretation of quantities of interest for topological systems, such as spin-expectation values and spin-Berry curvature.
Looking forward to hearing from you,
Best regards,
Domenico Di Sante