Commit e12a90a6 authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

fix

parent 49b22fbc
Pipeline #8654 failed with stages
in 2 minutes and 39 seconds
......@@ -202,6 +202,7 @@ def mesh(domain: _geometry.Domain, filename: str,
gmsh.view.remove(sf_view)
gmsh.model.mesh.field.remove(bg_field)
# remove nodes that do not touch any triangle
_,keepnodes = gmsh.model.mesh.getElementsByType(2)
keepnodes = set(keepnodes)
rm = []
for e in gmsh.model.getEntities(1) :
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment