Skip to content

Commit

Permalink
FEM: Update gmshtools.py
Browse files Browse the repository at this point in the history
  • Loading branch information
FEA-eng authored Jul 26, 2024
1 parent 61c964c commit 9b9141a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Mod/Fem/femmesh/gmshtools.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ def __init__(self, gmsh_mesh_obj, analysis=None):
self.algorithm2D = "8"
elif algo2D == "Packing Parallelograms":
self.algorithm2D = "9"
elif algo2D == "Quasi-structured Quad":
self.algorithm2D = "11"
else:
self.algorithm2D = "2"

Expand Down Expand Up @@ -839,7 +841,7 @@ def write_geo(self):
)
geo.write(
"// 2D mesh algorithm (1=MeshAdapt, 2=Automatic, "
"5=Delaunay, 6=Frontal, 7=BAMG, 8=DelQuad, 9=Packing Parallelograms)\n"
"5=Delaunay, 6=Frontal, 7=BAMG, 8=DelQuad, 9=Packing Parallelograms, 11=Quasi-structured Quad)\n"

Check warning on line 844 in src/Mod/Fem/femmesh/gmshtools.py

View workflow job for this annotation

GitHub Actions / Lint / Lint

Line too long (109/100) (line-too-long)
)
if len(self.bl_setting_list) and self.dimension == 3:
geo.write("Mesh.Algorithm = " + "DelQuad" + ";\n") # Frontal/DelQuad are tested
Expand Down

0 comments on commit 9b9141a

Please sign in to comment.