Overlaps in 2d hpmc simulation for mixture of ellipses and circles. #1759
-
Hi, I am trying to simulate a mixture of circles and ellipses in a 2D box using Thanks in advance, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You closed this discussion. Were you able to resolve the issue? |
Beta Was this translation helpful? Give feedback.
Yes, this is the workaround you should use. The fast numerical methods HOOMD-blue uses to detect overlaps assume that
a
,b
andc
are all non-zero. At the same time, your shapes will only rotate about the z axis in 2D boxes effectively giving you ellipses as desired.I opened #1762 so that a future HOOMD-blue release will provide an error message when given
Ellipsoid
is given a 0 value.