Skip to content

Conversation

@ErjieWu
Copy link
Collaborator

@ErjieWu ErjieWu commented Dec 13, 2024

What's changed?

  • Change cal_o_delta, cal_e_delta_band and cal_projected_DM into template functions.
  • Temporarily add the function of cal_f_delta_k into cal_f_delta_gamma for future combinations.

@ErjieWu ErjieWu added Refactor Refactor ABACUS codes The Absolute Zero Reduce the "entropy" of the code to 0 labels Dec 13, 2024
@mohanchen mohanchen merged commit 5c815a1 into deepmodeling:develop Dec 16, 2024
14 checks passed
@ErjieWu ErjieWu deleted the refactor branch December 16, 2024 06:55
Fisherd99 pushed a commit to Fisherd99/abacus-BSE that referenced this pull request Mar 31, 2025
…modeling#5731)

* Change cal_o_delta and cal_e_delta_band into templates.

* Change cal_projected_DM to template.

* Temporarily add the function of cal_f_delta_k into cal_f_delta_gamma.

* Update FORCE_gamma.cpp

* Update deepks_fgamma.cpp

* Update deepks_force.h

* Update deepks_force.h

* Update deepks_force.h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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