Skip to content

Commit 25db9a7

Browse files
jorgensdjhale
authored andcommitted
Update gmsh meshing options to pass on arm (#2940)
1 parent 0e44fb5 commit 25db9a7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

python/test/unit/mesh/test_higher_order_mesh.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,9 @@ def test_gmsh_input_2d(order, cell_type):
608608
gmsh.option.setNumber("Mesh.CharacteristicLengthMax", res)
609609

610610
if cell_type == CellType.quadrilateral:
611-
gmsh.option.setNumber("Mesh.Algorithm", 2 if order == 2 else 5)
611+
gmsh.option.setNumber("Mesh.Algorithm", 2)
612+
# Force mesh to have no triangles
613+
gmsh.option.setNumber("Mesh.RecombinationAlgorithm", 3)
612614

613615
gmsh.model.occ.addSphere(0, 0, 0, 1, tag=1)
614616
gmsh.model.occ.synchronize()

0 commit comments

Comments
 (0)