The orbital order of hamiltonian in data-HR-sparse_SPIN0.csr should be consistent with the order in the 'Orbital' file.
As is proposed in the ISSUE#163, it would be better if abacus output Orbital file with only out_mat_hs2 flag on.
To Reproduce
Set these flags in INPUT.
out_dos 1
out_mat_hs2 1
Environment
No response
Additional Context
I believe it is unnecessary to reorder the atomic orbitals when outputing mullin charges, etc.
Just use the orders defined in the hamiltonian would be fine.
Describe the bug
The orbital order of hamiltonian in data-sparse_SPIN0.csr arranges like:
While the order in Orbital file would be like:
Expected behavior
The orbital order of hamiltonian in data-HR-sparse_SPIN0.csr should be consistent with the order in the 'Orbital' file. As is proposed in the ISSUE#163, it would be better if abacus output Orbital file with only out_mat_hs2 flag on.
To Reproduce
Set these flags in INPUT. out_dos 1 out_mat_hs2 1
Environment
No response
Additional Context
I believe it is unnecessary to reorder the atomic orbitals when outputing mullin charges, etc. Just use the orders defined in the hamiltonian would be fine.