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

topologyobjects.Angle does not know about the periodic boundaries nor is this behaviour documented #1938

Closed
matsikora opened this issue Jun 14, 2018 · 1 comment

Comments

@matsikora
Copy link

Expected behaviour

topologyobjects.Angle.angle (and probably dihedral as well) should have a "box" option to allow for correct calculation of angles when contributing atoms cross periodic boundaries. Analogous to lib.distances.calc_angles().

Actual behaviour

angle function is not aware of PBC and this behaviour is not documented.

Code to reproduce the behaviour

Currently version of MDAnalysis:

0.17.0

@orbeckst
Copy link
Member

@richardjgowers I assigned to you as you're working on PR #1939 already

richardjgowers added a commit that referenced this issue Jun 16, 2018
calc_distance, calc_angle and calc_dihedral

Fixes Issue #1262 #1938

redid 180 degree angle test for new function
richardjgowers added a commit that referenced this issue Jun 23, 2018
calc_distance, calc_angle and calc_dihedral

Fixes Issue #1262 #1938

redid 180 degree angle test for new function
richardjgowers added a commit that referenced this issue Jun 29, 2018
calc_distance, calc_angle and calc_dihedral

Fixes Issue #1262 #1938

redid 180 degree angle test for new function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants