[Gmsh] recombine using gmsh library

Mikhail Artemyev artemiev.mikhail at gmail.com
Fri May 23 23:48:55 CEST 2014


I'm answering my own question (for those who will be interested) - in 
fact the initial approach does work (in terms - it does what command 
'Recombine Surface' does):

GFace *gface = model->addPlanarFace(lineloop);
gface->meshAttributes.recombine = 1;


Best regards,
Mikhail



On 05/16/2014 05:10 PM, Mikhail Artemyev wrote:
> Dear all,
>
> How can I build a recombined mesh through the library interface like 
> using a command Recombine Surface{1} in a .geo file?
>
> I tried this:
>
> // ...
> // definition of a model, points, lines, line loop
> // ...
> GFace *gface = model->addPlanarFace(lineloop);
> gface->meshAttributes.recombine = 1;
>
> but it seems not working.
>
> Thank you.
> Best regards,
> Mikhail