-
Notifications
You must be signed in to change notification settings - Fork 33
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
Fixed distribute and post processing bugs #54
Fixed distribute and post processing bugs #54
Conversation
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.
Pease see my comments.
examples/cfd/windtunnel_3d.py
Outdated
@@ -1,3 +1,4 @@ | |||
from math import e |
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.
please remove this
distributed_op = distribute_operator( | ||
operator, grid, velocity_set, num_results=num_results, ops=ops |
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.
Please move this to be the defaul results outside of the if statement and deleve else of the inner if statement.
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.
there is no need to spend time compiling a stepper that we won't need in the future. It's already the default behavior.
f_post_collision = self.collision.warp_functional(f_post_stream, feq, rho, u) | ||
f_post_collision = self.collision.warp_functional( | ||
f_post_stream, feq, rho, u | ||
) |
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.
Please don't use the formatter in your PRs where the focus is not the formatting.
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.
Merge this. I am setting up ruff for the project. The reason of this change was the ruff was not respected in previous PRs.
1a01139
to
3db2c66
Compare
3db2c66
to
1810e9c
Compare
No description provided.