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

ChIMES repulsives for non-periodic systems #1257

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vanderhe
Copy link
Member

Adds a workaround to enable ChIMES repulsives for non-periodic systems.

The molecule is placed in a large box, whereas the padding is specified from the users' perspective. If it were possible to query the largest occurring ChIMES cutoff via the interface, this parameter would not be necessary, but that does not seem to be implemented at the moment. In the future, it is of course preferable to directly support non-periodic systems in the ChIMES calculator and lsq fitting tool.

  • ChIMES repulsives for non-periodic systems
  • documentation
  • regression tests

@aradi @bhourahine Could you have a quick look at the changes and provide feedback if this workaround is acceptable? In that case I would proceed with documenting and testing it.

@codecov
Copy link

codecov bot commented Jun 21, 2023

Codecov Report

Attention: 9 lines in your changes are missing coverage. Please review.

Comparison is base (d276fa6) 69.79% compared to head (027569a) 69.78%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1257      +/-   ##
==========================================
- Coverage   69.79%   69.78%   -0.02%     
==========================================
  Files         227      227              
  Lines       42522    42528       +6     
==========================================
- Hits        29679    29677       -2     
- Misses      12843    12851       +8     
Files Coverage Δ
src/dftbp/dftbplus/initprogram.F90 82.75% <75.00%> (+0.03%) ⬆️
src/dftbp/dftb/repulsive/chimesrep.F90 85.71% <25.00%> (-7.84%) ⬇️
src/dftbp/dftbplus/parser.F90 77.64% <58.33%> (-0.11%) ⬇️

... and 1 file with indirect coverage changes

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

@bhourahine
Copy link
Member

@vanderhe did it turn out that the pair/triplet API call not solve this without padding?

@vanderhe
Copy link
Member Author

@bhourahine I did not yet find time to look into it again, will try to do so soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants