ufl team mailing list archive
-
ufl team
-
Mailing list archive
-
Message #01445
mixed-mixed element
Hello,
I am working with mixed-mixed element. Assume,
P2_c = VectorElement("Lagrange", triangle, 2)
P1 = FiniteElement("Lagrange", triangle, 1)
P2 = P2_c + P2_c
TH = P2 + P1
(v, p) = TestFunctions(TH)
Where v and p are the test functions corresponding to P2 and P1 respectively.
However, I want to be able to use a syntax like this,
(v, u, p) = TestFunction(TH)
Which allows me to have access to the test function of each sub element. How can
I do this by UFL?
Mehdi
Follow ups