chr1shr / voro

Voro++: a three-dimensional Voronoi cell library in C++
Other
164 stars 47 forks source link

neigbors method return negative numbers #39

Closed vlccek closed 8 months ago

vlccek commented 8 months ago

Thank you for providing this incredible library.

I'm currently using the development branch of voro to take advantage of its parallel processing features. However, I've come across a challenge with the neighbour identification feature, which occasionally returns negative values. Are these negative numbers indicative of a specific issue, or an overflow?

chr1shr commented 8 months ago

Negative values in the neighbor list correspond to Voronoi faces that:

This issue is discussed in some of the documentation, e.g. the description of neighbor lists under the %n option on the custom output reference.