Voronoi Analysis - edge length threshold

Quote from Ajay A on October 8, 2019, 5:45 amIn Ovito, there is the excellent option of using "Edge length threshold" when performing Voronoi analysis. However, I am trying to use voro++ code (to get information on the vertices of Voronoi polyhedra) and couldn't find this option. Can someone help me with this?
PS: Sorry, this is not technically a Ovito-related question. Hoping Alex or someone familiar with voro++ can help.
Thanks, Ajay
In Ovito, there is the excellent option of using "Edge length threshold" when performing Voronoi analysis. However, I am trying to use voro++ code (to get information on the vertices of Voronoi polyhedra) and couldn't find this option. Can someone help me with this?
PS: Sorry, this is not technically a Ovito-related question. Hoping Alex or someone familiar with voro++ can help.
Thanks, Ajay

Quote from Constanze Kalcher on October 8, 2019, 10:54 amHi Ajay,
this feature is only part of OVITO not voro++, here's the corresponding code part of the Voronoi analysis modifier: https://gitlab.com/stuko/ovito/blob/master/src%2Fovito%2Fparticles%2Fmodifier%2Fanalysis%2Fvoronoi%2FVoronoiAnalysisModifier.cpp
To avoid having to implement that yourself, I'm wondering if one could maybe output all edges using voro++ and then filter those that are larger than your specified threshold in post-processing. What do you think?
-Constanze
Hi Ajay,
this feature is only part of OVITO not voro++, here's the corresponding code part of the Voronoi analysis modifier: https://gitlab.com/stuko/ovito/blob/master/src%2Fovito%2Fparticles%2Fmodifier%2Fanalysis%2Fvoronoi%2FVoronoiAnalysisModifier.cpp
To avoid having to implement that yourself, I'm wondering if one could maybe output all edges using voro++ and then filter those that are larger than your specified threshold in post-processing. What do you think?
-Constanze

Quote from Ajay A on October 8, 2019, 9:41 pmHi Constanze,
Thanks for the info. Was hoping to use a simple command line option to execute this in voro++ but I will work on the lines of your suggestion.
Thanks again, Ajay
Hi Constanze,
Thanks for the info. Was hoping to use a simple command line option to execute this in voro++ but I will work on the lines of your suggestion.
Thanks again, Ajay
新的OVITO微信频道!
New for our users in China: OVITO on WeChat
Official OVITO WeChat channel operated by Foshan Diesi Technology Co., Ltd.
