Repository navigation
Analytical charge Hessian contractions - #71
Merged
Merged
Conversation
Growl1234
commented
Oct 17, 2026
Contributor
- Support weighted charge Hessian contractions, making analytical DFT-D4 two-body Hessians possible.
- Reuse cached charge solutions and first derivatives without storing the full second-order response tensor.
- Fix EEQBC response terms and periodic self-image indexing.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #71 +/- ##
===========================================
- Coverage 51.57% 30.68% -20.90%
===========================================
Files 18 2 -16
Lines 1648 176 -1472
Branches 746 72 -674
===========================================
- Hits 850 54 -796
+ Misses 390 85 -305
+ Partials 408 37 -371 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Contributor
Author
|
The test failure seems to be related to mctc-lib. |
Growl1234
force-pushed
the
hess
branch
3 times, most recently
from
October 20, 2026 18:04
258e59b to
166ed7c
Compare
Growl1234
added a commit
to Growl1234/dftd4
that referenced
this pull request
Oct 21, 2026
Growl1234
added a commit
to Growl1234/dftd4
that referenced
this pull request
Oct 21, 2026
…ge#71 Should be dropped once that PR get through review
Growl1234
added a commit
to Growl1234/dftd4
that referenced
this pull request
Oct 21, 2026
…ge#71 Should be dropped once that PR get through review
Growl1234
added a commit
to Growl1234/dftd4
that referenced
this pull request
Oct 22, 2026
…ge#71 Should be dropped once that PR get through review
awvwgk
approved these changes
Oct 26, 2026
timchem1508
added a commit
to timchem1508/multicharge
that referenced
this pull request
Oct 27, 2026
…main Main v0.6.0 brings the analytical charge Hessian (grimme-lab#71) and the mctc-lib Wigner-Seitz cell (grimme-lab#75), both written against the dense solve and cache_container API that this branch replaced. Port them onto the solver architecture: - get_charges(..., dqdL, cache, efield) retains the response in mchrg_cache (new dqdr field); add_charge_hessian reuses get_coulomb_derivs with the adjoint in place of the charges - add_model_hessian for EEQ and EEQ-BC on the branch cache layout (element-indexed rvdw, EEQ-BC lattice cutoff) - exact derivative of the regularised EEQ CN term in get_xvec_derivs and get_grad, as on main - use new_wignerseitz_cell from mctc-lib and drop multicharge_wignerseitz; drop the CSR-list arguments of local_charge that mctc-lib lacks - pin mctc-lib v0.7.0 and restore main's fpm.toml (mstore v0.4.0, fortitude configuration) - add main's eeqbc-response-znoh tests and the updated formamide reference; use the EEQ-BC tolerance of test_dadr also in test_dadL Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.