Replacement of MixedFunctionSpace

MixedFunctionSpace is for now deprecated, in favor of FunctionSpace built from a MixedElement.
As an example :

V = FiniteElement("CG", mesh.ufl_cell(), 2)
Q = FiniteElement("CG", mesh.ufl_cell(), 1)
VQ = FunctionSpace(mesh, MixedElement(V, Q))
3 Likes