Consider the enriched vector function space E defined below.
P1 = VectorFunctionSpace(mesh, "Lagrange", 1)
B = VectorFunctionSpace(mesh, "Bubble", 3)
E = P1 + B
How do I acces to the components of E? I would like to do E.sub(0), as I would do with P1, but this returns
ValueError: Can only extract SubSpaces with i = 0 ... -1
because
E.num_sub_spaces()
is 0