Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mixer modernisation #87

Merged
merged 2 commits into from
Jun 22, 2024
Merged

Mixer modernisation #87

merged 2 commits into from
Jun 22, 2024

Conversation

vanderhe
Copy link
Member

@vanderhe vanderhe commented May 31, 2024

Substitutes the existing Simple- and Broyden-mixer by a more recent implementation taken from DFTB+.

For the regression tests to pass I had to soften the tolerances of the regression infrastructure (abs. tol.: 1e-10 $\rightarrow$ 1e-08, rel. tol.: 1e-09 $\rightarrow$ 1e-07), which demands for further investigations/discussions. Actually, the current settings were simply far too tight...

To do:

  • discuss licensing
  • re-enable assertions/implement FYPP macros

@vanderhe
Copy link
Member Author

vanderhe commented Jun 6, 2024

@bhourahine If we are willing to accept the less tight regression criteria I think this PR is ready for review. My testing indicates that the modern Broyden converges considerably faster in some situations. I'm not happy with the current layout of the source tree, e.g. just dumping all the files in a single folder, but this I deal with in a separate PR.

@vanderhe vanderhe requested a review from bhourahine June 6, 2024 17:16
@vanderhe vanderhe marked this pull request as ready for review June 6, 2024 17:16
@aradi aradi merged commit 4a9709a into dftbplus:main Jun 22, 2024
2 checks passed
@vanderhe vanderhe deleted the mixerUpdate branch June 23, 2024 12:59
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.

2 participants