I am trying to enrich the Raviart-Thomas space with a bubble element's curl:
from dolfin import *
B = TensorFunctionSpace(mesh, "Bubble", 3)
_H = VectorFunctionSpace(mesh, 'RT', 1)
H = _H+curl(B)
Which does not work. I would appreciate any help for this. What I am trying to implement is the PEERS base, which approximates tensor spaces with RT enriched with the curl of a bubble function. Another way of implementing this would be to add the Bubble space to the MixedSpace and the just add the curl in each part where it corresponds, but I believe there has to be a more elegant and comprehensive way.
Thanks