forked from abacusmodeling/abacus-develop
-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor: charge_mixing::set_mixing() (#3596)
* move mixing_data object from public to private * move kerker and inner_product functions from public to private * move mix_rho_real() and mix_rho_recip() functions from public to private * add some comments * add some private parameters in charge_mixing.h * define a get_mixing() to return mixing object * fix bugs induced by new set_mixing() * move parameters checks from esolver_ks::Init() to set_mixing() * polish charge_mixing_test to protect set_mixing() * fix a bug induced by negative mixing_beta_mag
- Loading branch information
1 parent
bbb6849
commit ec9e42f
Showing
8 changed files
with
274 additions
and
143 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
Oops, something went wrong.