Skip to content

Refactor: split Charge_Mixing::set_mixing into set_mixing and init_mixing#3601

Merged
dyzheng merged 3 commits intodeepmodeling:developfrom
WHUweiqingzhou:refactor_mixing_new
Feb 5, 2024
Merged

Refactor: split Charge_Mixing::set_mixing into set_mixing and init_mixing#3601
dyzheng merged 3 commits intodeepmodeling:developfrom
WHUweiqingzhou:refactor_mixing_new

Conversation

@WHUweiqingzhou
Copy link
Collaborator

@WHUweiqingzhou WHUweiqingzhou commented Feb 5, 2024

Fix #3599.

List of Changes:

  1. split Charge_Mixing::set_mixing into set_mixing and init_mixing.
  2. delete chgmix->reset() in esolver_ks.
  3. polish charge_mixing_test.

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.

Better readable code, LGTM

@dyzheng dyzheng merged commit a25fd34 into deepmodeling:develop Feb 5, 2024
@WHUweiqingzhou WHUweiqingzhou deleted the refactor_mixing_new branch February 5, 2024 05:58
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.

Refactor: spilt Charge_Mixing::set_mixing() into set_mixing() and init_mixing()

2 participants