Skip to content

Conversation

@connorjward
Copy link
Contributor

@connorjward connorjward commented Dec 18, 2025

This should break a tricky dependency cycle.

Goes with NGSolve/ngsPETSc#99

TODO: how to make sure credit is appropriately given?

@connorjward connorjward marked this pull request as ready for review January 5, 2026 11:14
@connorjward connorjward mentioned this pull request Jan 5, 2026
connorjward added a commit to NGSolve/ngsPETSc that referenced this pull request Jan 8, 2026
* Remove Firedrake-specific code as it has been moved into Firedrake in firedrakeproject/firedrake#4782
@connorjward connorjward merged commit f255305 into main Jan 8, 2026
2 of 5 checks passed
@connorjward connorjward deleted the connorjward/eat-ngspetsc branch January 8, 2026 09:55
# 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(
Copy link
Contributor

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

Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants