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

do not re-initialize gmsh

parent b9c5b8c9
Pipeline #10461 passed with stages
in 4 minutes and 59 seconds
......@@ -23,9 +23,9 @@ from . import geometry as _geometry
from . import _tools
__all__ = ["mesh", "convert_to_gis"]
gmsh.initialize()
gmsh.option.setNumber("General.Terminal", 1)
gmsh.option.setNumber("General.Verbosity", 2)
if gmsh.option.getNumber("General.Terminal") == 0.0:
gmsh.initialize()
gmsh.option.setNumber("General.Verbosity", 2)
def _gmsh_curve_geo(curve_type: _geometry.CurveType, pointsid):
......
Supports Markdown
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