[Getdp] problem utilization of ~{}

Frederic Trillaud Pighi ftrillaudp at pumas.iingen.unam.mx
Mon Jun 24 21:17:50 CEST 2013


Hi, 

I have troubles with the handling of constants using ~{}. Gmsh sends me a syntax error (~) when I try to define a series of x_i constants using: 

For i In {1:n} 
x~{i} = i; 
EndFor 

However, I can print out and manipulate the constants using ~{} once I have previously defined each one of them individually: x_1 = ; x_2 = ; etc.... Is it a bug? 

Gmsh version: 2.5.1 on ubuntu 12.04 

Best, 

Frederic 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/getdp/attachments/20130624/6c2aa6d7/attachment.html>