Skip to content
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 use of firedrake.interpolate with new symbolic version #166

Merged
merged 1 commit into from
Feb 12, 2024

Conversation

JHopeCollins
Copy link
Member

firedrake.interpolate(expr, V) recently changed to return a symbolic expression instead of a Function (see Firedrake PR #2297). This was raising a load of deprecation warnings if using it in the "old" style.

This PR just updates all instances of u = fd.interpolate(expr, V) to u = fd.Function(V).interpolate(expr).

@JHopeCollins JHopeCollins added the upstream Issue related to upstream dependencies label Feb 1, 2024
@JHopeCollins JHopeCollins self-assigned this Feb 1, 2024
@JHopeCollins JHopeCollins marked this pull request as ready for review February 1, 2024 15:10
@JHopeCollins JHopeCollins merged commit 5f09851 into master Feb 12, 2024
1 check passed
@JHopeCollins JHopeCollins deleted the new_fd_interpolate branch February 12, 2024 16:29
@JHopeCollins JHopeCollins linked an issue Feb 22, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream Issue related to upstream dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update to new firedrake.interpolate behaviour
2 participants