Thread Previous • Date Previous • Date Next • Thread Next |
Mehdi Nikbakht wrote:
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?
Take at look at the documentation (Section 2.2.6). Garth
Mehdi _______________________________________________ UFL-dev mailing list UFL-dev@xxxxxxxxxx http://fenics.org/mailman/listinfo/ufl-dev
Thread Previous • Date Previous • Date Next • Thread Next |