[Gmsh] Some questions on tutorial 5

Christophe Geuzaine cgeuzaine at ulg.ac.be
Sat Apr 4 14:19:59 CEST 2009


dolfyn wrote:
> Thanks Christophe!
> 
> yes that did the trick...
>   
> Physical Surface(Sprintf("Sphere_%g",t)) = 
> {l8+1,l5+1,l1+1,l2+1,l3+1,l7+1,l6+1,l4+1};
> 
> I thought I could access this list from Surface Loop...
> 
> In the manual it says (4.2 Expressions): The two constant types 
> used in Gmsh scripts are real and string (there is no integer type).
> So charachter/string arrays are possible? How can I set up an array 
> of names? And use them here instead of the Sprintf-function?

No, we should add support for this in the parser...

> 
> Have a nice weekend!
> Henk
> 
> ps: if it is ok with you then there will be a web page at the dolfyn 
> site with the worked out tutorials on gmsh+dolfyn.

of course!

> 
> _______________________________________________
> 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