-
Notifications
You must be signed in to change notification settings - Fork 160
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
BUG: 'incompatible function spaces' error in adjoint interpolation via assemble
#3988
Comments
@pbrubeck any ideas? |
I'm familiar with the brokenness of
|
Also there is a difference between |
Ah of course,
|
For the case I needed the new
|
The original MFE runs fine if you just replace
|
Equivalently, |
Hmm, interesting, but is that correct? The interpolated expression, as passed to the For |
I think the logic goes like this: I see that Is there a reson to prefer |
I see, viewing it as a sesquilinear form on
No, I don't think so. |
Should we then throw an error for |
Maybe the exception should be raised in
is fine. I also think |
Describe the bug
(For appropriate spaces,$V_1$ , $V_2$ , e.g. each $P_n$ ) Interpolation from $V_2$ to $V_1$ is a linear operator, say $A : V_2 \rightarrow V_1$ . Adjoint interpolation is the linear operator $A^* : V_1^* \rightarrow V_2^*$ with
Using Firedrake to compute$A^{*}(v)$ via
assemble
leads to an
incompatible function spaces
error.Steps to Reproduce
leads to
Additional Info
Blocking #3939 and #3965. Seems to have been introduced recently.
The text was updated successfully, but these errors were encountered: