Skip to content

Conversation

@maxentile
Copy link
Member

In WaterBox and WaterCluster, the ndof attribute was computed incorrectly when constrained=True -- only 3 d.o.f. were subtracted from the system, regardless of the number of waters in the system.

>>> WaterBox(constrained=False).ndof
4509
>>> WaterBox(constrained=True).ndof
4506

Fix: subtract 3 d.o.f. per water.

In `WaterBox` and `WaterCluster`, the `ndof` attribute was computed incorrectly when `constrained=True` -- only 3 d.o.f. were subtracted from the system, regardless of the number of waters in the system.

Fix: subtract 3 d.o.f. per water.
Copy link
Member

@jchodera jchodera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Can you merge, @maxentile?

@jchodera
Copy link
Member

jchodera commented Mar 7, 2018

Actually, I can merge!

@jchodera jchodera merged commit 89c7ff8 into master Mar 7, 2018
@andrrizzi andrrizzi deleted the fix-ndof branch August 22, 2018 00:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants