Hi,

I wonder if it is or would be possible to assign tags to primitive shapes in the netgen input file, and having each tag percoled through the mesh in each tethaedra. For instance, take these two ellipsoids:

shape kind Ellipsoid shape name oell37 shape id 1 property 0

solid oell371 = ellipsoid (-812.08065369999997, -366.24157479999997, 56.964278199999995; -74.874600500543906, 90.336135045339773, -131.08549647422203; 158.94978392376717, 34.333722159749357, -67.129663413595438; -6.6657606594157226, -110.25461272111963, -72.173351781207771 ) -maxh=13.194508288500002;

shape kind Ellipsoid shape name oell37 shape id 2 property 1

solid oell372 = ellipsoid (-1915.7655027999999, 251.81195269999998, -1302.7666861; -145.91116734507557, -54.220247391563959, -81.977599501393328; -98.023345486256176, 69.554947499492883, 128.46697209292466; -5.386743462297682, 114.16888136839172, -65.92385161749236 ) -maxh=13.194508288500002;

I'd love to have oell371 in a set #0, and oell372 in a set #1 according to property. Furthermore, since the mesh will be manipulated element by element, I'd love to recognize which element belongs to which set. It can be done a posteriori, of course, by comparing each element with the geometry. But it would be much simpler to add a tag (say -tag=0) and read it in the vol file.

I appreciate your help.

Alberto