Sergey Litvinov wrote:
Hi,
I would like to use gmsh to generate initial conditions for particle
based method.
I need an API function to check if arbitrary point x,y (,z) belongs to
a given Volume
or Surface (for 2D).
If the volume/surface is meshed, you can use
GModel::getMeshElementByCoord(), which uses a fast octree search.
Thank you for your help.
_______________________________________________
gmsh mailing list
[email protected]
http://www.geuz.org/mailman/listinfo/gmsh
--
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine
_______________________________________________
gmsh mailing list
[email protected]
http://www.geuz.org/mailman/listinfo/gmsh