Question #658232 on Yade changed:
https://answers.launchpad.net/yade/+question/658232

    Status: Open => Answered

Bruno Chareyre proposed the following answer:
Hello Gary,
At the bottom level of the triangulation code there is CGAL library. On the top 
of CGAL, Yade has mainly C++ function to glue the particles positions of DEM 
together with CGAL's triangulation (besides calculating derived quantities such 
as deformations). And finally some python binding on the top of the C++ glue 
for some user-level functions.

What is needed in you case, it seems, is to access the CGAL data structure 
directly to work efficiently. It is not anticipated in yade that someone needs 
full access to CGAL data since it would involve developing our own python 
wrapping for the whole triangulation package of CGAL, not a small task.
The solution to your problem could be to add a few additional python wrappers 
to TesselationWrapper in order to access just what you need (not so clearly 
defined in your question). Implementation of these needs a good understanding 
of CGAL internals and c++/python binding.
Actually it could be that what you need is already accessible somehow but you 
did not notice. The list of spheres adjacent to external boundaries, for 
instance, can be retrieved. 
So, let us know more precisely what data is needed for better advices.
Cheers
Bruno

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to