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
Second Moment Aproximation to the Tight Binding addes as pair style #3031
Conversation
@Iximiel thanks for your submission. Before looking at the implementation and making some (required) suggestions, can you please discuss how your implementation differs from what functionality is available in the SMTBQ package |
Thank you for the fast reply. Initially I thought that the acronym SMATB describes more correctly the idea behind the form of the potential. Anyway, I agree that maybe this name similarity can be misleading, and I am keen in accepting any kind of change in the keywords. A possible solution is given by the fact that the SMATB potential is also known as "Gupta" or "RGL" (according to the community that is using it). Thank you again for your time |
@Iximiel thanks for the info, that eliminates the concern that we would add duplicate functionality. @sjplimp what do you think?
@Iximiel once we have sorted out these "administrative matters", I will start looking at the code, examples and other details. Please note that you added your changes to the "develop" branch in your fork. We usually encourage people to keep the branches from the upstream repository unchanged (and set the corresponding branch in the original LAMMPS repository as their upstream branch for simple synchronization with upstream) and instead work on a feature branch and submit that as a pull request. But no worries, you can correct that later. For the time being, please don't make any changes to your branch, since I plan to do the renaming and moving of files by myself and then push them into your repository. Thanks, Axel. |
I'm fine with a merged package and rename of the package and old pair style. As a courtesy, running this by the original smtbq folks would be a good idea. |
Hi all, I implemented pair_SMTBQ in LAMMPS with Olivier Politano and Robert Tétot. We agree to merge the package SMTBQ to SMATB/QEq. |
Hi, I am sorry for answering so late. Thanks |
No worries. We've been slow to process this as well. I've finally worked my way down the queue far enough to review this again. I've updated the code to the most recent upstream changes, made some cosmetic changes and also aligned its execution more with how things are done elsewhere in LAMMPS. Also, I've added some unit test inputs for the pair style tester tool. The good news is, that restarting works fine. The bad news is, that using newton pair off does not work. I've made some smal changes that resulted in consistent energies, but forces are off. For the time being, I have made using newton pair off an error and also told the unit test input to skip those. I've ultimately decided to not rename the SMTBQ package or its pair style, but just moved the new styles to the existing package and updated the documentation accordingly. This way there is less disruption and backward compatibility. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I approve.
Summary
I added the Second Moment Aproximation to the Tight Binding (SMATB) potential as a pair style, along with some very simple examples and the documentation to start a simulation with this potential.
Author(s)
Daniele Rapetti - Politecnico di Torino - daniele.rapetti@polito.it (personal: iximiel(at)gmail(dot)com)
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).
Post Submission Checklist