[Gmsh] physical group labels
Владимир Кузнецов
runekerjob at gmail.com
Thu Jan 28 09:13:21 CET 2016
Hi, i have problem with physical group labels.
I open gmsh.exe and create physical surface. In geo file i see something
like this:
*Physical Surface(35) = {18, 20, 22, 24}; *
But, i need label for this surface like this:
*Physical Surface("label", 35) = {18, 20, 22, 24};*
Can i label this surface without edit geo file in text editor?
-----------------------------------------------------------------
Second question:
Ok, i have geo file with physical surfaces without labels:
*Physical Surface(35) = {18, 20, 22, 24};*
can i get id for this physical surface?
If physical surface has label, i just use this function:
*Gmodel *m;*
*m->getPhysicalName(dimension, id);*
*m->getPhysicalNumber(dimension, name);*
How can i get id for surfaces without labels?
thanks in advice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20160128/c2761a48/attachment.html>
More information about the gmsh
mailing list