[Gmsh] segmentation violation in gmesh

Christophe Geuzaine geuzaine at acm.caltech.edu
Fri May 23 00:02:17 CEST 2003


Christophe Geuzaine wrote:
> Also, in order to speed up the parsing of the file, you should flatten
> the geometry, e.g. with 'gmsh grey1_h.mat.geo -0 > new.geo', and
> continue your modifications in 'new.geo'. Every time you define a new
> variable in 'grey1_h.mat.geo' ('p1_10 = newp;', etc.) the code has to
> perform a search in a list of existing variables to see if the variable
> has been previously defined. With several thousands of variables, this
> becomes really slow...

You won't actually need to flatten the geometry... Here is a patched
version that fixes the problem:

http://www.geuz.org/gmsh/src/gmsh-1.44.1-source.tgz

Christophe

-- 
Christophe Geuzaine

Tel: (626) 395-4552    http://www.geuz.org
Fax: (626) 578-0124    mailto:geuzaine at acm.caltech.edu