# Connectivity: mesh vs. fespace

**URL:** <https://community.freefem.org/t/connectivity-mesh-vs-fespace/292>\
**Category:** General Discussion\
**Created:** [March 6, 2020, 4:55pm UTC](https://community.freefem.org/t/connectivity-mesh-vs-fespace/292 "2020-03-06T16:55:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![amina](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@amina](https://community.freefem.org/u/amina)\
**Post date:** [March 6, 2020, 4:55pm UTC](https://community.freefem.org/t/connectivity-mesh-vs-fespace/292/1 "2020-03-06T16:55:55Z")

</div>

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,

---

<div class="post-metadata">

**Author:** ![amina](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@amina](https://community.freefem.org/u/amina)\
**Post date:** [April 10, 2020, 3:17pm UTC](https://community.freefem.org/t/connectivity-mesh-vs-fespace/292/2 "2020-04-10T15:17:55Z")

</div>

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?
