Skip to content

Conversation

@WHUweiqingzhou
Copy link
Collaborator

Fix #3434 and #3363. After this PR, Charge_Mixing does not require the definition of functions of Charge.

Lists of Changes

  1. delete the code about rho_mag and rhog_mag in Charge, and add them into Charge_Mixing.
  2. delete the mocks about rho_mag and rhog_mag in Charge_Mixing_Test.
  3. move renormalize_rho() outside Charge_Mixing

Copy link
Collaborator

@dyzheng dyzheng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good refactor.

@dyzheng dyzheng merged commit e6d6df4 into deepmodeling:develop Jan 5, 2024
@WHUweiqingzhou WHUweiqingzhou deleted the refactor_mixing_nspin2 branch January 5, 2024 03:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bugs: possible memory leak of MixRhoTest

2 participants