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

Add single/improper to create_bonds #1706

merged 3 commits into from Oct 8, 2019


Copy link

TOFarmer commented Oct 8, 2019


Modified create_bonds so that a single improper can be created with single/improper. This makes create_bonds complete as all bonded styles can now be created.

Modified create_bonds documentation to reflect changes.

Related Issues

fixes #1705


Thomas Farmer, ISIS Neutron and Muon Source, United Kingdom.


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

Has not been tested but highly likely to be backwards compatible.

Implementation Notes

Minor modification which effectively duplicates and modifies the existing single_bond, single_angle, and single_dihedral functions.

Post Submission Checklist

Please check the fields below as they are completed after the pull request has been submitted. Delete lines that don't apply

  • 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

Further Information, Files, and Links


@akohlmey akohlmey self-assigned this Oct 8, 2019
@akohlmey akohlmey requested review from sjplimp and athomps Oct 8, 2019

This comment has been minimized.

Copy link

akohlmey commented Oct 8, 2019

@TOFarmer thanks for your contribution. Did a few additional tweaks to the docs. This should get in easily.

sjplimp approved these changes Oct 8, 2019
Copy link

sjplimp left a comment

thanks for adding this feature

@akohlmey akohlmey merged commit 4f57332 into lammps:master Oct 8, 2019
8 checks passed
8 checks passed
lammps/pull-requests/build-docs-pr head run ended
lammps/pull-requests/cmake/cmake-kokkos-cuda-pr head run ended
lammps/pull-requests/cmake/cmake-kokkos-omp-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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.