[Gmsh] mesh element -> physical group

Christophe Geuzaine cgeuzaine at ulg.ac.be
Sat Feb 27 10:30:02 CET 2010


On 28/01/10 00:59, krzysztof.pelczar at gmail.com wrote:
> Hi,
>
> I would like to know how can I find Physical Group containing mesh
> element returned by getMeshElementByCoord?
> Thank you in advance for the answer.

Unfortunately there is no "fast" way to do this at the moment, as 
elements do not store information about their parent entity: you;ll have 
to loop over elements in all entities :-(


>
> Best regards,
> Krzysztof Pelczar
>
> Jagiellonian University
> Krakow, Poland
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> 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