Connectivity: mesh vs. fespace

Dear all,

I was trying to rearrange my boundary nodes is ascending order and I succeeded in doing it using
Th1 = change(Th1, renumv=new2old);

However, I figured out that the FEM space connectivity is not the same as the mesh connectivity and that my boundary nodes are not sorted in ascending order within the solution vector. Can anyone help me to ensure this for fespace?

Thanks,

1 Like

Dear all,

Can anyone enlighten me on the relationship between the mesh connectivity and the fespace connectivity?
I actually rearranged my mesh nodes on the boundaries to make sure they’re in ascending order with regards to an axis, but the related dofs are not sorted the same way in the fespace.

Thanks?