10000 Move coordination number and common data to mctc-lib and add DFT-D4S by thfroitzheim · Pull Request #237 · tblite/tblite · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Move coordination number and common data to mctc-lib and add DFT-D4S #237

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

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

thfroitzheim
Copy link
Contributor

PR to move the coordination number to the mctc-lib (see PR #71 there). This avoids duplicated code in all our projects and makes the addition of new coordination numbers simpler. The full functionality and all tests were moved to mctc-lib. Additionally, the common data (electronegativity and radii) were moved to mctc-lib.

This PR starts as a draft pointing to the mctc-lib branch until it is merged.

Copy link
codecov bot commented Mar 17, 2025

Codecov Report

Attention: Patch coverage is 33.58209% with 89 lines in your changes missing coverage. Please review.

Project coverage is 71.00%. Comparing base (246c695) to head (0a6c253).

Files with missing lines Patch % Lines
src/tblite/disp/d4.f90 40.47% 2 Missing and 23 partials ⚠️
src/tblite/xtb/calculator.f90 18.75% 1 Missing and 12 partials ⚠️
src/tblite/xtb/gfn2.f90 28.57% 0 Missing and 10 partials ⚠️
src/tblite/post_processing/xtb-ml/energy.f90 11.11% 4 Missing and 4 partials ⚠️
src/tblite/ceh/ceh.f90 25.00% 0 Missing and 6 partials ⚠️
src/tblite/xtb/gfn1.f90 33.33% 0 Missing and 6 partials ⚠️
src/tblite/xtb/ipea1.f90 33.33% 0 Missing and 6 partials ⚠️
src/tblite/post_processing/xtb-ml/convolution.f90 42.85% 2 Missing and 2 partials ⚠️
src/tblite/post_processing/xtb-ml/geometry.f90 42.85% 2 Missing and 2 partials ⚠️
src/tblite/param/dispersion.f90 57.14% 2 Missing and 1 partial ⚠️
... and 2 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #237      +/-   ##
==========================================
- Coverage   71.84%   71.00%   -0.84%     
==========================================
  Files         158      143      -15     
  Lines       19626    18927     -699     
  Branches     6639     6638       -1     
==========================================
- Hits        14101    13440     -661     
+ Misses       2252     2198      -54     
- Partials     3273     3289      +16     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@thfroitzheim
Copy link
Contributor Author

I had to update the version of DFT-D4 used in tblite to be consistent with the updated multicharge (otherwise we would use two different versions). With this, I also introduced the new D4S feature and integrated it into the parameter toml file (so far, no method uses it as default). I also added tests for the dispersion, specifically the potential, which was never tested (also not in DFT-D4).

@thfroitzheim thfroitzheim changed the title Move coordination number and common data to mctc-lib Move coordination number and common data to mctc-lib and add DFT-D4S Mar 28, 2025
@thfroitzheim thfroitzheim requested a review from awvwgk April 1, 2025 21:24
@thfroitzheim thfroitzheim marked this pull request as ready for review April 2, 2025 21:30
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
0