Skip to content

Overlaps in 2d hpmc simulation for mixture of ellipses and circles. #1759

Closed Answered by joaander
sauravIISc asked this question in Support
Discussion options

You must be logged in to vote

Yes, this is the workaround you should use. The fast numerical methods HOOMD-blue uses to detect overlaps assume that a, b and c 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.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@sauravIISc
Comment options

@joaander
Comment options

Answer selected by sauravIISc
@sauravIISc
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
2 participants