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

Correctly and fully support pair style hybrid and hybrid/overlay for pair style quip #1479

merged 7 commits into from May 30, 2019


None yet
2 participants
Copy link

commented May 29, 2019


Pair style quip would only support pair style hybrid/overlay and only when spanning all atom types, since it didn't properly handle NULL entries for atom type assignments. This PR removes that limitation and implements a few other cleanups.


Axel Kohlmeyer (Temple U)


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

Yes. only broken use of hybrid pair style configurations may now produce errors. The use of metal units is now enforced (not just documented that it is required).

Implementation Notes

This correctly handles the map array and also applies setflag only to atom types where it is really used. In addition some minor cleanups and formatting changes were implemented.

Post Submission Checklist

  • The feature or features in this pull request is complete
  • Licensing information is complete
  • Corresponding author information is complete
  • The source code follows the LAMMPS formatting guidelines
  • Suitable new documentation files and/or updates to the existing docs are included
  • The added/updated documentation is integrated and tested with the documentation build system
  • The feature has been verified to work with the conventional build system
  • The feature has been verified to work with the CMake based build system

akohlmey added some commits May 29, 2019

@akohlmey akohlmey added this to the Stable Release Spring 2019 milestone May 29, 2019

@akohlmey akohlmey self-assigned this May 29, 2019

@akohlmey akohlmey requested review from sjplimp and athomps May 29, 2019

Copy link

left a comment

Looks good.

@akohlmey akohlmey merged commit 9cc16c4 into lammps:master May 30, 2019

6 checks passed

lammps/pull-requests/build-docs-pr head run ended
lammps/pull-requests/cmake/cmake-serial-pr head run ended
lammps/pull-requests/kokkos-omp-pr head run ended
lammps/pull-requests/openmpi-pr head run ended
lammps/pull-requests/serial-pr head run ended
lammps/pull-requests/shlib-pr head run ended

@akohlmey akohlmey deleted the akohlmey:fixup_pair_quip branch May 31, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.