-
Notifications
You must be signed in to change notification settings - Fork 167
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor: Combine gamma-only and multi-k versions of some functions i…
…n DeePKS. (#5717) * Add support for INPUT deepks_v_delta>0 in multi-k points DeePKS calculations * Refactor: Change LCAO_Deepks_Interface to template class. * Remove the h_mat and h_mat_k variables in LCAO_Deepks and change H_V_delta to form consistent with H_V_delta_k. * Change functions in deepks_hmat to template. * Combine gamma-only and multi-k for v_delta_precalc. * Change functions about v_delta_precalc and psialpha in deepks_v_delta calculations to templates. * Change save_npy_h to template. * Change some functions in LCAO_deepks_io to templates. * Remove ld.V_deltaR. * Change cal_orbital_precalc to template. * Remove orbital_precalc_k.cpp. * Change cal_gdmx into template function. * [pre-commit.ci lite] apply automatic fixes * Update LCAO_deepks_interface.cpp * Update FORCE_STRESS.cpp * Update FORCE_gamma.cpp * Update deepks_lcao.cpp * Update LCAO_deepks.cpp * Update LCAO_deepks.cpp * Update LCAO_deepks.h --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
- Loading branch information
1 parent
3b3466e
commit d73b1d2
Showing
25 changed files
with
946 additions
and
1,888 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.