[Gmsh] Nurbs support?

Christophe Geuzaine geuzaine at acm.caltech.edu
Mon Jun 23 17:41:56 CEST 2003


Bill wrote:
> I recently downloaded Gmsh and after some experimentation I decided 
> to try to implement nurbs.
> I am a little overwhelmed with the parser though( states and table 
> entries). 

Woah, please don't tell me you're actually trying to read the parser C++
code (Gmsh.tab.cpp, etc.) :-)

This is automatically generated by lex and yacc (well, actually, flex
and bison) from the two human-readable files Gmsh.l and Gmsh.y. Just
look for "nurbs" in Gmsh.y to see what the syntax is.

To regenerate the C++ files when you change Gmsh.l or Gmsh.y, just type
"make parser".

> I see that there are some stubs for nurbs handling and I 
> assume they are untested. Is this true?

Yes, you can find the current implementation in Mesh/Nurbs.cpp.

Christophe

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