New question #131011 on DOLFIN:
https://answers.launchpad.net/dolfin/+question/131011

How does one compute with trial/test spaces which are products of more than two 
spaces? The following simple code gives me the error message "ValueError: need 
more than 2 values to unpack". What is the supported way to do this?  (I need 
to compute with a space with four component spaces.) Thanks, --Jay 

from dolfin import *
mesh = UnitSquare(2,2)
W = FunctionSpace(mesh, "CG", 1)
S = W*W*W
(u,v,w) = TrialFunctions(S)



-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.

_______________________________________________
Mailing list: https://launchpad.net/~dolfin
Post to     : dolfin@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dolfin
More help   : https://help.launchpad.net/ListHelp

Reply via email to