You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python 3.11.0 pacakged by conda-forge
pygmsh 7.1.17 (pypi_0 pypi)
importpygmshimportgmshwithpygmsh.geo.Geometry() asgeom:
geom.add_circle([0.0, 0.0], 1.0, mesh_size=0.1)
gmsh.option.setNumber("Mesh.SaveAll", 0)
mesh=geom.generate_mesh()
print("Mesh point list includes origin:")
print(mesh.points[:3])
print()
print("Num triangles including the origin:", (mesh.cells[1].data==0).sum()) # Should be higher than 0
Expected behaviour: All points in a mesh should be used in at least 1 cell. Actual behaviour: Origin is included in mesh independently of whether it is included in any cells.
The text was updated successfully, but these errors were encountered:
Python 3.11.0 pacakged by conda-forge
pygmsh 7.1.17 (pypi_0 pypi)
Expected behaviour: All points in a mesh should be used in at least 1 cell.
Actual behaviour: Origin is included in mesh independently of whether it is included in any cells.
The text was updated successfully, but these errors were encountered: