[Gmsh] Extruded Surfaces' ID

Christophe Geuzaine cag32 at case.edu
Tue Apr 18 05:26:35 CEST 2006


Andrew Isaverdian wrote:
> Is there any way to get programmatically the ID number of the Extruded 
> surfaces?
> 

If you write "out[] = Extrude {1,0,0} { Surface{1}; };", out[0] will 
contain the ID number of the new "top" surface, and out[1] will
contain the ID number of the new volume.

Christophe

>  
> 
> Andrew
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh


-- 
Christophe Geuzaine
Assistant Professor, Case Western Reserve University, Mathematics
http://www.case.edu/artsci/math/geuzaine