# Issue with transfer between two meshes

**URL:** https://community.freefem.org/t/issue-with-transfer-between-two-meshes/667
**Category:** General Discussion
**Created:** [November 24, 2020, 6:12pm UTC](https://community.freefem.org/t/issue-with-transfer-between-two-meshes/667 "2020-11-24T18:12:00Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![prj](https://avatars.discourse-cdn.com/v4/letter/p/ecae2f/32.png) [@prj](https://community.freefem.org/u/prj)
#### Post date: [November 24, 2020, 6:21pm UTC](https://community.freefem.org/t/issue-with-transfer-between-two-meshes/667/2 "2020-11-24T18:21:18Z")

</div>

Dear Christophe,  
Very interesting issue! The example you use, `maxwell-mg-3d-PETSc-complex.edp`, deals with _nested_ meshes. Meaning that the meshes are build by uniformly refining the one from the previous level. In that case, you don’t need to transfer anything, the interpolation is purely local on each process. You can simply write

```auto
def(u2) = def(u);

```

If you want to transfer variables between non-nested meshes, you can for example have a look at [this](https://community.freefem.org/t/copy-variables-between-different-meshes-with-petsc/390) other post.

---

_[View the full topic](https://community.freefem.org/t/issue-with-transfer-between-two-meshes/667)._
