This should also refactor the construction of the finite elements vectors. Currently, they are just pushed back in a vector and implicitly depend on the ordering inside the indexSet. E.g. in ResultFunction. Even more bad this all breaks with grid that contain different element types sionce the indexSet assign only unique indices per element type. Here we have to use the MultiCodimWrapper.
This should also refactor the construction of the finite elements vectors. Currently, they are just pushed back in a vector and implicitly depend on the ordering inside the indexSet. E.g. in ResultFunction. Even more bad this all breaks with grid that contain different element types sionce the indexSet assign only unique indices per element type. Here we have to use the MultiCodimWrapper.