Skip to content

Fix HR output in tddft#4150

Merged
mohanchen merged 32 commits into
deepmodeling:developfrom
ESROAMER:develop
May 21, 2024
Merged

Fix HR output in tddft#4150
mohanchen merged 32 commits into
deepmodeling:developfrom
ESROAMER:develop

Conversation

@ESROAMER

Copy link
Copy Markdown
Collaborator

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.

Comment thread source/module_hamilt_lcao/hamilt_lcaodft/LCAO_matrix.cpp Outdated
Comment thread source/module_hamilt_lcao/hamilt_lcaodft/operator_lcao/td_ekinetic_lcao.cpp Outdated
Comment thread source/module_hamilt_lcao/hamilt_lcaodft/operator_lcao/td_ekinetic_lcao.cpp Outdated
Comment thread source/module_hamilt_lcao/hamilt_lcaodft/spar_hsr.cpp Outdated
Comment thread source/module_hamilt_lcao/hamilt_lcaodft/spar_hsr.cpp Outdated
@mohanchen mohanchen added the Input&Output Suitable for coders without knowing too many DFT details label May 10, 2024
Comment thread source/module_hamilt_lcao/hamilt_lcaodft/operator_lcao/td_ekinetic_lcao.cpp Outdated
Comment thread source/module_hamilt_lcao/hamilt_lcaodft/operator_lcao/td_ekinetic_lcao.cpp Outdated
Comment thread source/module_hamilt_lcao/hamilt_lcaodft/operator_lcao/td_ekinetic_lcao.cpp Outdated
Comment thread source/module_hamilt_lcao/module_tddft/td_velocity.cpp
Comment thread source/module_esolver/esolver_ks_lcao_tddft.cpp Outdated
Comment thread source/module_hamilt_lcao/hamilt_lcaodft/operator_lcao/td_ekinetic_lcao.cpp Outdated
Comment thread source/module_hamilt_lcao/module_tddft/td_velocity.cpp
@mohanchen mohanchen merged commit edb2d1c into deepmodeling:develop May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Input&Output Suitable for coders without knowing too many DFT details

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrong output Matrices in tddft calculation

2 participants