Replies: 2 comments 2 replies
-
The unit test provides a working example: hoomd-blue/hoomd/md/pytest/test_constrain_distance.py Lines 64 to 75 in 41af37e hoomd-blue/hoomd/md/pytest/test_constrain_distance.py Lines 127 to 133 in 41af37e |
Beta Was this translation helpful? Give feedback.
-
I made two minimum examples:
and
The first one has fatal problems which I didn't resolve by having a smaller |
Beta Was this translation helpful? Give feedback.
-
I have a chain of spring-beads. I want to make the spring rigid while keep the angular freedom. I saw the class
hoomd.md.constrain.Distance(tolerance=0.001)
might be able to achieve this. But I didn't see an example like the rigid constraint. I was wondering how to use this distance constraint to a specific group of particles in the simulation.Alternatively, I can set the spring constant such that the springs are so stiff if this distance constrain cannot be applied.
Beta Was this translation helpful? Give feedback.
All reactions