Hi,
We have:
V = FunctionSpace(...)
W = FunctionSpace(...)
U = V * W
my function is:
p = Function(U)
Now I split p as follows:
(e,f) = p.split()
Now I want to change e and f, then assign them back into p:
assign(p.sub(0), e)
assign(p.sub(1), f)
but when I do this I get the following error:
TypeError: list of Function expected
How can we do such an assignment?