[Gmsh] surfaces from volume duplication
Miro Kuchta
mirok at math.uio.no
Fri Mar 3 14:13:46 CET 2017
Thanks, that's what I needed.
Miro
On 03. mars 2017 11:07, Christophe Geuzaine wrote:
>> On 2 Mar 2017, at 19:27, Miro Kuchta <mirok at math.uio.no> wrote:
>>
>> Hi,
>>
>> is there a way to get a list of surfaces which were created as part of duplicating a volume.
>> In the attached code Out[0] gives me a volume (index?) of the new volume but I would like
>> to get the surfaces which show up when the geometry is viewed in GUI (28, 33, 38, 43, 48, 53).
>> Out[1] is not initialized.
>>
> Use the Boundary operator, which returns a list:
>
> b() = Boundary{ Volume{Out[0]}; } ;
>
> Printf("%g", Out[0]);
> Printf("boundary = ", Boundary{ Volume{Out[0]};} );
>
>
>
>> Thanks for your help, Miro
>> <debug.geo>_______________________________________________
>> gmsh mailing list
>> gmsh at onelab.info
>> http://onelab.info/mailman/listinfo/gmsh
More information about the gmsh
mailing list