TypeError using Dirac Delta Functions on Mixed Function Spaces #4654
-
|
I am trying to implement a dirac delta type contribution on a Mixed Function Space, following https://www.firedrakeproject.org/demos/full_waveform_inversion.py.html When I define I can then use to define a linear functional However, when I instead use a mixed function space representation, e.g. then I get an error with Perhaps it is possible to directly recover the function space that my test function Many thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Figured out how to fix this, you have to instead work with a test function on the mixed space and include |
Beta Was this translation helpful? Give feedback.
Figured out how to fix this, you have to instead work with a test function on the mixed space$W$ and define the Cofunction on the dual of $W$ .
Example code:
and include
q_s * win the functiona…