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

Dipole correction #1299

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from
Draft

Dipole correction #1299

wants to merge 9 commits into from

Conversation

aradi
Copy link
Member

@aradi aradi commented Aug 9, 2023

Dipole correction for slabs.

Currently only works for neutrals systems, slab has to be aligned along x/y with vacuum along z.

Todo:

  • Correction for neutral systems
  • More detailed/meaningful test of the energy expression (potential seems to behave correctly)
  • Generalize for charged cases
  • Allow for x- or y- as orthogonal axis in user input (internally the axis is parameterized already)

@aradi
Copy link
Member Author

aradi commented Aug 9, 2023

@terminationshock You might give it a try at its current stage, the buildbot tests pass.

@codecov
Copy link

codecov bot commented Aug 9, 2023

Codecov Report

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

Comparison is base (849996e) 69.72% compared to head (864763f) 69.77%.
Report is 168 commits behind head on main.

Files Patch % Lines
src/dftbp/dftbplus/parser.F90 89.39% 7 Missing ⚠️
src/dftbp/dftb/dipolecorr.F90 76.00% 6 Missing ⚠️
src/dftbp/dftb/scc.F90 85.71% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1299      +/-   ##
==========================================
+ Coverage   69.72%   69.77%   +0.04%     
==========================================
  Files         226      228       +2     
  Lines       42243    42491     +248     
==========================================
+ Hits        29452    29646     +194     
- Misses      12791    12845      +54     

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

@terminationshock
Copy link
Contributor

Thank you, @aradi . I have installed that version on our colleagues's VM. I will let you know when their tests are done.

Copy link

stale bot commented Feb 7, 2024

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale label Feb 7, 2024
@aradi aradi removed the stale label Feb 7, 2024
@aradi
Copy link
Member Author

aradi commented Feb 7, 2024

Ping to keep it alive.

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.

None yet

2 participants