-
-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2D Mesh w/ quads only #331
Comments
Try separating the arguments of mshArgs = ['-clscale', str(mshRefFactor),
'-clcurv', str(360/50),
'-setnumber', 'Mesh.SubdivisionAlgorithm', '1',
'-setnumber', 'Mesh.RecombineAll', '1'] |
Ahh, thanks! |
@ryancoe +1 on the good bug report. I wish they were all like this. |
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm interested in using
pygmsh
to generate a surface (2D) mesh with only quads. I figured out how to do this ingmsh
using theMesh.SubdivisionAlgorithm
andMesh.RecombineAll
via thegmsh
command line interace:However, when I pass these options to
pygmsh.generate_mesh
via theextra_gmsh_arguments
they don't seem to work. Even more odd, I can see from the log whatpygmsh
is calling -- when I copy this to my command line I get the desired result.MWE below:
From
![Screen Shot 2020-04-28 at 1 45 07 PM](https://user-images.githubusercontent.com/5589887/80530711-a5cba180-8956-11ea-9704-8ddb7e1e1f27.png)
pygmsh
:From
![Screen Shot 2020-04-28 at 1 45 11 PM](https://user-images.githubusercontent.com/5589887/80530719-a9f7bf00-8956-11ea-96b5-070f6fdcf35d.png)
gmsh
:The text was updated successfully, but these errors were encountered: