Assign function from one space into mixed space #3322
-
Hi,
|
Beta Was this translation helpful? Give feedback.
Answered by
dham
Jan 12, 2024
Replies: 1 comment 2 replies
-
This is the easy to make confusion about what phi, c = u.subfunctions |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is a minimal example:
I have verified that this works.
If you then need to use
phi
in a weak form then you should redefine it usingsplit
before you do so.Assign only works between matching function spaces. If you need to transfer Function data between different function spaces then you either need to interpolate or project.