-
Notifications
You must be signed in to change notification settings - Fork 177
Move Firedrake code from ngsPETSc into Firedrake #4782
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
Conversation
This should break a tricky dependency cycle.
* Remove Firedrake-specific code as it has been moved into Firedrake in firedrakeproject/firedrake#4782
| # NB: Coordinates must be cast to real when running Firedrake in complex mode | ||
| permutation = find_permutation( | ||
| physical_space_points, | ||
| new_coordinates.dat.data[pyop2_index].reshape( |
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.
new_coordinates.dat.data[pyop2_index].real.reshape(
Cast coordinates to real to avoid ComplexWarning in complex mode
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 for raising this. Please see #4815
Note that in future we would be very happy to receive PRs fixing this sort of thing.
This should break a tricky dependency cycle.
Goes with NGSolve/ngsPETSc#99
TODO: how to make sure credit is appropriately given?