dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #22401
Re: [Question #111370]: Initializing a function with two sub-functions
Question #111370 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/111370
Chaffra requested for more information:
I have a related problem. Let's say I have
m = UnitInterval(100)
Q = FunctionSpace(n, 'CG',1)
u0 = Function(Q)
W = MixedFunctionSpace([Q,Q,Q])
u_func = Function(W)
I want to do:
u_func[0].assign(u0) but I get
AttributeError: 'Indexed' object has no attribute 'assign'
How do I do this?
Thanks, Chaffra
--
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.