# Interpolation in parallel

**URL:** <https://community.freefem.org/t/interpolation-in-parallel/1255>\
**Category:** General Discussion\
**Created:** [October 14, 2021, 10:20am UTC](https://community.freefem.org/t/interpolation-in-parallel/1255 "2021-10-14T10:20:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![etj](https://avatars.discourse-cdn.com/v4/letter/e/a698b9/32.png) [@etj](https://community.freefem.org/u/etj)\
**Post date:** [October 14, 2021, 10:20am UTC](https://community.freefem.org/t/interpolation-in-parallel/1255/1 "2021-10-14T10:20:40Z")

</div>

Hello,

I would like to interpolate a FE function computed in parallel with PETSc from a first mesh onto a second mesh. Is that possible? What is the best way to do that? Interpolate() or something else? Is there an example available?  
Also, is it possible to interpolate when the geometry (domain boundary) differs?

Thank you.

---

<div class="post-metadata">

**Author:** ![aszaboa](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/aszaboa/32/2918_2.png) [@aszaboa](https://community.freefem.org/u/aszaboa)\
**Post date:** [October 14, 2021, 10:40am UTC](https://community.freefem.org/t/interpolation-in-parallel/1255/2 "2021-10-14T10:40:09Z")

</div>

Hi!  
I think your question was answered in this [this](https://community.freefem.org/t/copy-variables-between-different-meshes-with-petsc/390) post.

---

<div class="post-metadata">

**Author:** ![etj](https://avatars.discourse-cdn.com/v4/letter/e/a698b9/32.png) [@etj](https://community.freefem.org/u/etj)\
**Post date:** [October 14, 2021, 12:47pm UTC](https://community.freefem.org/t/interpolation-in-parallel/1255/3 "2021-10-14T12:47:34Z")

</div>

Thanks! This looks promising indeed. I will give it a try.
