-
Notifications
You must be signed in to change notification settings - Fork 19
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
Update get_box_mesh.py #924
Conversation
Updated get_box_mesh function
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! This looks like a good start. I added a couple of minor suggestions. The next steps should probably be to: 1) put this into an existing mirgecom module (I think mirgecom/simutil.py
would be a good spot), and 2) update the examples and tests to import get_box_mesh
from the module, rather than defining it locally in each one.
Co-authored-by: Matt Smith <[email protected]>
Co-authored-by: Matt Smith <[email protected]>
Updated for errors in periodic. Return call simplified
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Just added a few suggestions. Once those are addressed and the CI errors are fixed up, it should be ready to merge.
… faces Co-authored-by: Matt Smith <[email protected]>
Hi @aakankshbhat , before you commit any changes, load the mirgecom environment and run "flake8 *.py" and "pydocstyle *.py" so you can catch any errors with flake8 or docs without having to go through CI. That will make your life easier. You can also run the examples to make sure there are no issues before committing and pushing. |
Actually, if you save this bit of code as https://gist.github.com/MTCam/c9b7b58bdcd0cc72c1501b537cf3bb66 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
Updated get_box_mesh function
Questions for the review: