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

Collected small changes #3164

Merged
merged 23 commits into from Mar 11, 2022
Merged

Conversation

akohlmey
Copy link
Member

@akohlmey akohlmey commented Mar 4, 2022

Summary

The pull request combines multiple small changes and fixes

Related Issue(s)

This addresses the segfault problems discussed here: https://matsci.org/t/lammps-users-problem-in-simulating-rigid-dumbbell-using-rigid-nvt-small/40879

Author(s)

Axel Kohlmeyer, Temple U

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

No known issues.

Implementation Notes

The following changes and fixes are included:

  • correctly report the number of constrained bonds in fix shake/rattle
  • fix bug causing NaNs for 2d-systems in fix rigid/nvt/small and fix rigid/npt/small from incorrectly computing the number of DoFs. (in 2d there is only one possible rotation or no rotation if all constituent atoms have the same coordinates which is not supported anyway).
  • silence some compiler warnings related to OpenMP pragmas for loops
  • small documentation updates in multiple locations
  • update src/.gitignore for recent additions and fix a typo in it

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 akohlmey marked this pull request as ready for review March 10, 2022 10:50
@akohlmey akohlmey requested a review from sjplimp as a code owner March 10, 2022 10:50
@akohlmey akohlmey added gpu_unit_tests Enable to trigger GPU unit tests ready_for_merge and removed ready_for_merge gpu_unit_tests Enable to trigger GPU unit tests labels Mar 11, 2022
@akohlmey akohlmey merged commit 9b989b1 into lammps:develop Mar 11, 2022
@akohlmey akohlmey deleted the collected-small-changes branch March 11, 2022 04:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants