Skip to content

SDF expansion array returns all zeros for concave polygons at density=0.3 #2092

Answered by joaander
aidexs asked this question in Support
Discussion options

You must be logged in to vote

To achieve samples on the expansion side, you need to have particles arranged so that they start to overlap when moved further apart. Star shaped polygons like yours don't tend to arrange themselves this way. I use a staple shape in the validation scripts to achieve a reasonable number of samples on the expansion side: https://github.com/glotzerlab/hoomd-validation/blob/trunk/hoomd_validation/simple_polygon.py.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@aidexs
Comment options

Answer selected by aidexs
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