[Gmsh] filter out elements according to type

Christophe Geuzaine geuzaine at gmail.com
Thu Apr 26 10:01:35 CEST 2018



> On 25 Apr 2018, at 22:29, Christophe Geuzaine <geuzaine at gmail.com> wrote:
> 
> 
> Hi Andrew,
> 
> Not in the current version. This is something we might indeed want to add in the API.

I've added gmsh::model::getType() which return the string type of an entity ("Circle", etc.) - this could be used to filter the results.

Christophe


> 
> Christophe
> 
>> On 25 Apr 2018, at 17:57, andrew <armitatz at gmail.com <mailto:armitatz at gmail.com>> wrote:
>> 
>> Hi,
>> 
>> I would like to select in a model all the arcs that are in a surface. For example if I use the line
>> 
>> lines[]=Line "*";
>> 
>> I get all the lines in a model. Is there a similar 
>> 
>> circles[]=Circle "*"; or arcs[]=Arc "*";
>> 
>> command with I will be able to select the circular elements?
>> 
>> thank you in advance
>> 
>> andrew
>> 
>> _______________________________________________
>> gmsh mailing list
>> gmsh at onelab.info <mailto:gmsh at onelab.info>
>> http://onelab.info/mailman/listinfo/gmsh
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20180426/c2fa26ec/attachment-0001.html>


More information about the gmsh mailing list