[Gmsh] API change in 2.8.3?
David Bernstein
david at terafrac.org
Wed Dec 4 22:09:07 CET 2013
Hi Christophe, Yes you are right, it does work using the latest nightly build.
[Actually in my original post I claimed to do this but in fact I mistakenly used the 2.8.3 source instead. Sorry, my mistake.]
Thanks!
Dave
On Dec 3, 2013, at 11:33 PM, Christophe Geuzaine <cgeuzaine at ulg.ac.be> wrote:
>
> On 04 Dec 2013, at 03:20, David Bernstein <david at terafrac.org> wrote:
>
>> 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.
>>
>
> Hi Dave - Can you try with the latest nightly build? We made a change in 2.8.3 that could indeed crash some coumpound surfaces.
>
>
>> Thanks,
>> Dave
>>
>> <terafracmesh.geo>_______________________________________________
>> gmsh mailing list
>> gmsh at geuz.org
>> http://www.geuz.org/mailman/listinfo/gmsh
>
> --
> Prof. Christophe Geuzaine
> University of Liege, Electrical Engineering and Computer Science
> http://www.montefiore.ulg.ac.be/~geuzaine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20131204/1ca4cddb/attachment.html>