Hello:
I would want to make a dot product when there are one vector (1,1) and another vector jump(q,n) (q is a scalar field, n = FacetNormal(mesh)). Also I have an scalar jump(sigma,n) because of sigma is an vector field.
However I have problems to do it.
mesh = UnitSquare(22, 22)
V2 = VectorFunctionSpace(mesh, "DG", 2)
V0 = FunctionSpace(mesh, "DG", 1)
W = MixedFunctionSpace([V0, V2, V2])
(p, s1, sigma) = TrialFunctions(W)
(q, t, tau) = TestFunctions(W)
...
auxv = Vector(2)
auxv[1] = 1.0
auxv[0] = 1.0
a = ... + dot(jump(sigma,n)*auxv, jump(q,n))*dS
Thanks for your attention
Jesus