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
unit tests for /soft pair styles #2283
Conversation
@akohlmey I need your help in identifying the RESPA-related bug in these three pair-styles:
It's not the initialization of |
Found the bug in neighbor list |
@abhiShandy @akohlmey Can you clarify what the rRESPA bug was in the 3 pair styles, you also mentioned a neighbor list bug (maybe the same thing). For lj/cut/soft it looks like you removed a bunch of rRESPA logic that presumably was copied from lj/cut? Are you saying that logic was incorrect, or is now outdated? |
Looking at the git history shows that he respa neighborlist request logic in lj/cut was updated in 2017 in commit 0966e14, while the corresponding section in lj/cut/soft was unchanged since its addition in 2015. I suppose you forgot to update it, when you updated other pair styles. |
The stack-trace in failing tests hinted towards bug in neighbor list. So, I copied the neighbor logic from lj/cut to lj/cut/soft (and similarly for other 2) and it fixed the bug. |
Summary
Bugs fixed
Related Issues
#2099
Author(s)
Abhishek Shandilya, RPI
Licensing
By submitting this pull request, I agree, that my contribution will be included in LAMMPS and redistributed under either the GNU General Public License version 2 (GPL v2) or the GNU Lesser General Public License version 2.1 (LGPL v2.1).
Backward Compatibility
Implementation Notes
Post Submission Checklist
Further Information, Files, and Links