Authentication method changed. UCLouvain users, please use the "UCLouvain SSO" button to connect on the website. To connect your git clients, use ssh + ssh key (https://git.immc.ucl.ac.be/-/profile/keys) or https + personal access token. You can create a personal access token with read_repository and write_repository permissions on https://git.immc.ucl.ac.be/-/profile/personal_access_tokens. Then use this token as password with your uclouvain login to access the repositories over https.

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

fix

parent e12a90a6
Pipeline #9888 failed with stages
in 2 minutes and 10 seconds
......@@ -207,9 +207,9 @@ def mesh(domain: _geometry.Domain, filename: str,
rm = []
for e in gmsh.model.getEntities(1) :
enodes,_,_ = gmsh.model.mesh.getNodes(*e)
if not (enodes[0] in keepnodes) :
if (len(enodes) == 0) or (not (enodes[0] in keepnodes)) :
rm.append(e)
if rm :
if len(rm) != 0 :
gmsh.model.removeEntities(rm,True)
_tools.log("Write \"{}\" (msh version {})".format(filename, version))
gmsh.option.setNumber("Mesh.MshFileVersion", version)
......
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