[Gmsh] gmsh -0 in version 2.0 doesn't unroll everything

Ondrej Certik ondrej at certik.cz
Thu Mar 15 12:53:33 CET 2007


Hi,

I am using

gmsh -0 afm.geo

with gmsh 1.65.0 and everything works as expected. Upon upgrading to
2.0.4 however, the resulting unrolled geometry contains


x0 = 1;
Physical Surface (x0) = {52, 126, 200, 306, 348, 454, 528, 576};
r = 2;
Physical Surface (r) = {541};
Physical Surface (3) = {56, 130, 204, 310, 352, 458, 532, 578};
Physical Surface (4) = {29, 68, 103, 142, 177, 216, 248, 283, 325, 364, 396, 431

Where the variables "x0" and "r" are not unrolled.

I am using my own script to parse the unrolled geometry and I pass it
to tetgen myself and they collapse on this (I would have to implement
a simple language with variables, which I believe is a gmsh's job). I
think this behavior in gmsh 2.0.4 is a bug, isn't it?

I am willing to send you a patch, if you don't have time to do it, but
I just wanted to check, if it is a bug, or a feature.

Ondrej
-------------- next part --------------
A non-text attachment was scrubbed...
Name: afm.geo
Type: application/octet-stream
Size: 2319 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20070315/21a80a18/attachment.geo>