[Gmsh] Using lists in expression lists

Keith Pickering keith.pickering at gmail.com
Sat Aug 20 08:28:36 CEST 2011


Why doesn't this work?

x1[]=Extrude { {1,0,0},{0,0,0}, Pi/2} {Surface{4};}
x2[]=Extrude { {1,0,0},{0,0,0}, Pi/2} {Surface{ x1[0] };}

The first extrude works fine. The second throws a syntax error. The GMSH
user manual says that the *string*[] format is ok for use in expression
lists, and x1[0] should be the top of the extrusion (i.e., the new surface)
also according to the user manual.


Keith Pickering
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20110820/3f9c2d83/attachment.html>