neperfepx / neper

Polycrystal generation and meshing
http://neper.info
GNU General Public License v3.0
198 stars 53 forks source link

[msh] Print all tags in $Entities that surfaces belong to #801

Closed noamtt closed 1 month ago

noamtt commented 5 months ago

Refers to Issue #791

For surfaces, instead of printing "1" as the number of physical tags the surface entity belongs to, loop through the values available in the tesselation data (Tess.DomTessFaceNb) for coincidences with the current entity ID.

If this ID is found in the tesselation data, the surface is part of the domain boundary, and so two physical tags should be printed: the ID itself and the tag of the domain face.

noamtt commented 2 months ago

Any suggestions regarding this PR?

rquey commented 1 month ago

Merged. Thanks, and sorry for being so slow on this one...