Skip to content

Commit

Permalink
Merge pull request #1796 from kotsaloscv/patch-1
Browse files Browse the repository at this point in the history
Update gmsh.py
  • Loading branch information
mikedh committed Jan 10, 2023
2 parents 2ae196c + 6e7c9e9 commit 44ea1cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions trimesh/interfaces/gmsh.py
Expand Up @@ -135,7 +135,7 @@ def to_volume(mesh,
Maximum length of an element in the volume mesh
mesher_id : int
3D unstructured algorithms:
1: Delaunay, 4: Frontal, 7: MMG3D, 10: HXT
1: Delaunay, 3: Initial mesh only, 4: Frontal, 7: MMG3D, 9: R-tree, 10: HXT
Returns
------------
Expand All @@ -147,8 +147,8 @@ def to_volume(mesh,
import gmsh

# checks mesher selection
if mesher_id not in [1, 4, 7, 10]:
raise ValueError('unavilable mesher selected!')
if mesher_id not in [1, 3, 4, 7, 9, 10]:
raise ValueError('unavailable mesher selected!')
else:
mesher_id = int(mesher_id)

Expand Down

0 comments on commit 44ea1cc

Please sign in to comment.