BCs in mixed space vector+scalar+scalar
I want to solve for a vector and two scalars, and I have specified the FunctionSpace W intuitively correctly,
but the BC complains that my dimension is incorrect (for the vector). What am I doing wrong?
mesh=UnitSquare
V=VectorFunctio
Q=FunctionSpace
R=FunctionSpace
W=V+Q+R
def bound0(x):
x[0]<DOLFIN_EPS
v0=Constant(
bc=DirichletBC(
bc=
File "/usr/lib/
cpp.
File "/usr/lib/
_cpp.
RuntimeError: *** Error: Unable to create boundary condition. Reason: Illegal value 2 for value dimension, should be 3.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Chris Richardson
- Solved:
- Last query:
- Last reply: