abacus-develop
abacus-develop copied to clipboard
Fix HR output in tddft
Linked Issue
Partially Fix #4117 Due to the type difference, the HR data of tddft correction term must be added independently to get a correct HR matrix. I modified part of the functions "cal_HSR" and "save_HSR" and added a new member "HR_sparse_td_vel" to class "LCAO_Matrix" to fix this.