Skip to content

2 vertex spherocylinder definition not supported. #310

Answered by joaander
sauravIISc asked this question in Support
Discussion options

You must be logged in to vote

The error is generated here: https://github.com/glotzerlab/hoomd-blue/blob/4bc6e20d15b83d2a1bf509351c217dc375f7a5e8/hoomd/hpmc/ShapeSpheropolyhedron.h#L195

You are welcome to submit a pull request that removes the error so that two vertex polyhedra can be converted to type_shapes. In the meantime, you can work around the issue by including a third vertex on the line connecting the other two (e.g. at the origin).

Replies: 3 comments 2 replies

Comment options

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

@joaander
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by joaander
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
3 participants