[Gmsh] newl doesn't work

Christophe Geuzaine c.geuzaine at ulg.ac.be
Wed Aug 6 22:44:48 CEST 2003


Wladimyr Mattos C. Dourado wrote:

>   Dear Gmsh team
> 
> First of all I wish send once more congratulations for the initiative in 
> respect to this nice mesh generator offered to our scientific community.
> 
> I had a trouble that I believe you may help us. The attached file is a 
> mesh file (.geo) for one of my test case and I decided to use the 
> commands newp, newl etc to generate the points, lines etc numers 
> automaticly. But the following message appears:
> 
> Loading 
> '/home/dourado/unstruct/cases/triangobst/mesh/tmp/entrance-canal.geo'
> Info : Including 
> '/home/dourado/unstruct/cases/triangobst/mesh/tmp/triang-obst-parameters.geo'
> Error : 
> '/home/dourado/unstruct/cases/triangobst/mesh/tmp/entrance-canal.geo', 
> line 49 : Unknown variable 'newl'
> Error : 
> '/home/dourado/unstruct/cases/triangobst/mesh/tmp/entrance-canal.geo', 
> line 51 : Unknown variable 'newl'
> Error : 
> '/home/dourado/unstruct/cases/triangobst/mesh/tmp/entrance-canal.geo', 
> line 52 : Unknown variable 'newl'
> Error : 
> '/home/dourado/unstruct/cases/triangobst/mesh/tmp/entrance-canal.geo', 
> line 53 : Unknown variable 'newl'
> Loaded '/home/dourado/unstruct/cases/triangobst/mesh/tmp/entrance-canal.geo'
> 
> 
> I could check that the newl command is not recognized. what can I do? Is 
> it a bug of gmsh?


Oops, you're right: this is a typo in the documentation--the actual
command is 'newc' ("new curve"). I'll fix the docs and add a synonym in
the next release.

Thanks,

Christophe

-- 
Christophe A. Geuzaine
Applied and Computational Mathematics, Caltech
geuzaine at acm.caltech.edu - http://geuz.org