Skip to content

Conversation

@ErjieWu
Copy link
Collaborator

@ErjieWu ErjieWu commented Jan 6, 2025

Unit Tests and/or Case Tests for my changes

  • Add the check of gvepsl in unit test and corresponding reference files.
  • Change the reference files of gvx, since it was incompletely printed in the previous version.

What's changed?

  • Move functions related to gdmx and gvx to deepks_fpre.cpp (since they are used for DeePKS force calculations) and remove their global dependence. Change the print for gvx into correct size.
  • Move functions related to gdmepsl and gvepsl to deepks_spre.cpp (since they are used for DeePKS stress calculations) and remove their global dependence. Add function for printing gvepsl.

@mohanchen mohanchen added Refactor Refactor ABACUS codes The Absolute Zero Reduce the "entropy" of the code to 0 Machine Learning Issues related to the DeePKS labels Jan 6, 2025
@mohanchen mohanchen merged commit 8407ee9 into deepmodeling:develop Jan 7, 2025
14 checks passed
@ErjieWu ErjieWu deleted the refactor branch January 7, 2025 04:50
Fisherd99 pushed a commit to Fisherd99/abacus-BSE that referenced this pull request Mar 31, 2025
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 Refactor Refactor ABACUS codes 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