yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #16627
Re: [Question #663129]: Minus one TesselationWrapper.volume ?
Question #663129 on Yade changed:
https://answers.launchpad.net/yade/+question/663129
Status: Open => Answered
Bruno Chareyre proposed the following answer:
Hi Jérôme, hopefully it will work if you keep the sequence as it is in
the original MWE, i.e.
TW=TesselationWrapper()
TW.triangulate() #compute regular Delaunay triangulation, don’t construct tesselation
TW.computeVolumes() #will silently tesselate the packing, then compute volume of each Voronoi cell
Obviously it would be helpful to run triangulate() automatically inside computeVolumes()...
Cheers
Bruno
--
You received this question notification because your team yade-users is
an answer contact for Yade.