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

USER-CGDNA: Introduced ellipsoid pointer in quaternion data access #2507

Merged
merged 1 commit into from Dec 7, 2020

Conversation

ohenrich
Copy link
Collaborator

@ohenrich ohenrich commented Dec 3, 2020

Summary

This fixes a bug in the access to quaternion data that caused issues in the master branch and stable release from 29th Oct 2020 when load balancing is enabled. Instead of the bare atom index we use now the ellipsoid pointer to access the bonus data.

Related Issue(s)

None. All related issues have been already closed.

Author(s)

Oliver Henrich
Department of Physics
University of Strathclyde
Glasgow, UK

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

Backward compatibility of input files is fully retained.

Implementation Notes

We extended the relevant lines to use ellipsoid[i] instead of the bare index i. Tests were run with and without load balancing and raw quaternion data was printed off and the results were verified.

Post Submission Checklist

  • The feature has been verified to work with the CMake based build system

@akohlmey akohlmey added bugfix test_for_regression Enable to trigger regression tests labels Dec 4, 2020
@akohlmey akohlmey added this to the Stable Release Spring 2021 milestone Dec 4, 2020
@akohlmey akohlmey self-assigned this Dec 4, 2020
@akohlmey akohlmey merged commit 33888ec into lammps:master Dec 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix test_for_regression Enable to trigger regression tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants