Hello,
Before the recent removal of the 'MixedFunctionSpace', I had the following code:
V = VectorFunctionSpace(mesh, "CG",lagrange_order)
ME = MixedFunctionSpace([V,V,V])
v = TestFunctions(ME)
u = TrialFunctions(ME)
before the update, v
had the following index structure:
v[0][0]
v[0][1]
v[1][0]
v[1][1]
v[2][0]
v[2][1]
So now, I created a Mixed Function Space using a VectorElement as follows:
V = VectorElement("Lagrange", mesh.ufl_cell(), lagrange_order, dim=2)
ME = FunctionSpace(mesh,V*V*V)
v = TestFunctions(ME)
u = TrialFunctions(ME)
But then after the update, it shows the following:
v[0][0]
v[0][1]
v[0][2]
v[0][3]
v[1][0]
v[1][1]
Which is a problem as all my expressions relied on explicitly calling the indices with the old structure.
Is there a way to customize the MixedFunctionSpace indexing?