No triangles to reclassify in surface mesh
I want to use gmsh.model.mesh.classifySurfaces(math.pi, True, True)
, but a bug is reported:
Warning: No triangles to reclassify in surface mesh.
But, my test code is:
gmsh.model.geo.synchronize()
gmsh.write("t2.msh")
# gmsh.fltk.run()
print('0: ', gmsh.model.getEntities(0), '\n1: ', gmsh.model.getEntities(1), '\n2: ', gmsh.model.getEntities(2),
'\n3: ', gmsh.model.getEntities(3))
gmsh.model.mesh.classifySurfaces(3.1415926, True, True)
The printed information is:
If uncomment the gmsh.fltk.run()
, the result is:
There must be some triangles.
However, when I load the saved t2.msh
, the result is:
It make me confuzed. Why gmsh.fltk.run()
"shows" triangles, but there is actually no triangle?
Any suggestion is appreciated~~~