Hi
I have VectorFucntionSpace in RT, FunctionSpace in CG likes this
X = VectorFunctionSpace(mesh, "RT", 2)
Y = FunctionSpace(mesh, "CG", 1)
W = MixedFunctionSpace([X,Y,Y,Y,X,Y,Y])
then i use TrailFunction, TestFucntion likes this
(p,y,p0,p1,p2,p3,z) = TriaFunction(W)
pt,yt,p0t,p1t,p2t,p3t,zt) = TestFunction(W)
After that i have inner product some thing like
a = inner(div(p),p1t)*dx + inner(y, div(p2))*dx
Error occur: shape mismatch it
Can anybody clarify this to me?