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