product of more than two spaces
Asked by
JG
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)
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask JG for more information if necessary.
To post a message you must log in.