Python API: reverse normals of elements with surface tag
Dear all,
I am having a hard time understanding how to use gmsh.model.mesh.reverse
when I only know the tag of the surface that contains the elements I want to reverse (like in the UI).
How would something like the following work ?
tag_loop = gmsh.model.occ.addCurveLoop([...])
gmsh.model.occ.addSurfaceFilling(tag_loop, tag=tag_surface)
gmsh.model.mesh.reverse(tag_surface) # ???
Thank you for your help ! T. Bridel-Bertomeu
Edited by Thibault Bridel-Bertomeu