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

Merge branch 'remove_model' into 'master'

remove gmsh.model when mesh is generated

See merge request !2
parents 0a1606c4 659e3fc8
Pipeline #8643 passed with stages
in 2 minutes and 27 seconds
......@@ -204,6 +204,7 @@ def mesh(domain: _geometry.Domain, filename: str,
_tools.log("Write \"{}\" (msh version {})".format(filename, version))
gmsh.option.setNumber("Mesh.MshFileVersion", version)
gmsh.write(filename)
gmsh.model.remove()
def convert_to_gis(input_filename: str,
......
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