[Gmsh] Mesh.SaveAll with physical entities

Jose Miguel Perez Perez jomipp at torroja.dmt.upm.es
Mon May 28 17:13:25 CEST 2012


Hello,

        I need to save all the elements; edges, elements (triangles),...  (Mesh.SaveAll = 1) but retaining the physical entities associated with each of these elements (Mesh.SaveElementTagType = 2).

        I tried to use both flags at the same time (for "msh" format) with negative results.

Thank you in advance.

Best regards, 

Jose

Ps:

...
Physical Surface("ground")={s1};
Physical Line("farField") = {ll1};
...
Mesh.Algorithm  =  5;
Mesh.Format  =  10;
Mesh.SaveAll  = 1;
Mesh.SaveElementTagType = 2;
...