Skip to content

Conversation

@ErjieWu
Copy link
Collaborator

@ErjieWu ErjieWu commented Dec 31, 2024

What's changed?

  • Move cal_orbital_precalc() from LCAO_Deepks to DeePKS_domain to remove the dependence of GlobalC. Remove orbital_pdm_shell variable. Change orbital_precalc.cpp into deepks_orbpre.cpp with corresponding head file.
  • Change cal_gvdm() into cal_gevdm() and remove the dependence of variable gvdm_tensor. Change some other related functions from directly call cal_gevdm() to accept input variable gevdm.
  • Remove the double pointer variable pdm and rename the pdm_tensor to pdm.

…om LCAO_Deepks; Partially change cal_gevdm() for future refactor; Remove the double pointer pdm and use tensor vector for replacement.
@mohanchen mohanchen merged commit d7b76fc into deepmodeling:develop Jan 1, 2025
14 checks passed
Fisherd99 pushed a commit to Fisherd99/abacus-BSE that referenced this pull request Mar 31, 2025
…ePKS. (deepmodeling#5791)

* Remove cal_orbital_precalc() and corresponding temporary variables from LCAO_Deepks; Partially change cal_gevdm() for future refactor; Remove the double pointer pdm and use tensor vector for replacement.

* clang-format adjustment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Machine Learning Issues related to the DeePKS The Absolute Zero Reduce the "entropy" of the code to 0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants