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 <[email protected]> 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
[email protected]
http://onelab.info/mailman/listinfo/gmsh


_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh

Reply via email to