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

Marks external neighbour set for recomputation #1319

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

Conversation

bhourahine
Copy link
Member

Also adds a variable to the main type to prevent DFTB+ updating the neighbourlist if it has been set externally.

@bhourahine bhourahine added bug API Relates to the API labels Sep 30, 2023
@codecov
Copy link

codecov bot commented Sep 30, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.79%. Comparing base (22572cb) to head (7bfd505).
Report is 23 commits behind head on main.

❗ Current head 7bfd505 differs from pull request most recent head b8bc4d3. Consider uploading reports for the commit b8bc4d3 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1319      +/-   ##
==========================================
- Coverage   70.86%   69.79%   -1.07%     
==========================================
  Files         231      227       -4     
  Lines       44203    42525    -1678     
==========================================
- Hits        31325    29681    -1644     
+ Misses      12878    12844      -34     

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

@bhourahine bhourahine mentioned this pull request Sep 30, 2023
@terminationshock
Copy link
Contributor

terminationshock commented Oct 2, 2023

The new flag here copies the logic from the already existing flag neigh%setExternally (see src/dftbp/dftb/periodic.F90).
If I understand the changes correctly, the latter can be removed completely and also the early return in updateNeighbourListAndSpecies is not required anymore, correct?
I am fine with your changes, but propose to remove the neigh%setExternally.

@bhourahine
Copy link
Member Author

am fine with your changes, but propose to remove the neigh%setExternally.

We should probably discuss at the next devel meeting. Both solutions seem not to be fully blocking adjustment of the neighbour list and image coordinates after they are externally set.

@bhourahine bhourahine added this to the 23.2 milestone Oct 12, 2023
@bhourahine bhourahine modified the milestones: 23.2, 24.1 Nov 9, 2023
@bhourahine bhourahine modified the milestones: 24.1, 24.2 Mar 2, 2024
Also adds a variable to the main type to prevent DFTB+ updating the
neighbourlist if it has been set externally.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Relates to the API bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants