[Gmsh] [gmsh] renumber extrusion

Christophe Geuzaine cgeuzaine at ulg.ac.be
Fri Mar 21 18:54:56 CET 2008


hubrys at virgilio.it wrote:
> I need to automatically renumber extrusion, in particular i would like 
> to know the number of the generated surfaces.


mylist[] = Extrude {0,0,1} { Surface{2}; };

mylist[0] will contain the ID of new "top" surface
mylist[1] will contain the ID of the new volume
mylist[2,...] will contain the IDs of the new "side" surfaces.




> Can you help me?
> 
> _______________________________________________
> 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