[Gmsh] API change in 2.8.3?

David Bernstein david at terafrac.org
Wed Dec 4 03:20:11 CET 2013


Hi Everyone, Using the nightly build the attached geo file runs fine through the GUI.  However the C++ code I wrote shows a segfault when I try to use the API function readGEO.  The entire C++ code is:

GmshInitialize();

GModel *pGModel = new GModel();

pGModel->readGEO(geoFileName);

pGModel->mesh(3);
    
<do something with pGModel>
    
delete pGModel;
GmshFinalize();

Has something changed in 2.8.3?  This worked in 2.8.2.

Thanks,
Dave

-------------- next part --------------
A non-text attachment was scrubbed...
Name: terafracmesh.geo
Type: application/octet-stream
Size: 3717469 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20131203/261d9685/attachment.geo>