Re: [deal.II] Transferring data between two triangulations (dof handlers)

2021-02-09 Thread Wolfgang Bangerth
On 2/9/21 3:20 PM, Pascal Kraft wrote: I have a similar question: I want to couple dofs between two meshes. They have a shared surface (shared in the sense that it is at the same location). I assemble my system blockwise. The one mesh describes the "inner" domain I use in multiple situations

Re: [deal.II] Transferring data between two triangulations (dof handlers)

2021-02-09 Thread Pascal Kraft
Hi everyone, I have a similar question: I want to couple dofs between two meshes. They have a shared surface (shared in the sense that it is at the same location). I assemble my system blockwise. The one mesh describes the "inner" domain I use in multiple situations and the other mesh is a pml

Re: [deal.II] Transferring data between two triangulations (dof handlers)

2021-02-02 Thread Yu Leng
Jean-Paul, Thank you very much for your suggestion. This function works great with distributed meshes. The other one has to use shared meshes. Thanks, Yu On Mon, Feb 1, 2021 at 2:43 AM Jean-Paul Pelteret wrote: > Hi Yu, > > Have you tried the VectorTools::interpolate_to_different_mesh() >

Re: [deal.II] Transferring data between two triangulations (dof handlers)

2021-01-31 Thread Jean-Paul Pelteret
Hi Yu, Have you tried the VectorTools::interpolate_to_different_mesh() functions? It sounds to me like they perform the operation that you're trying to do. They require that the two

[deal.II] Transferring data between two triangulations (dof handlers)

2021-01-31 Thread Yu Leng
Dear all, I would like to transfer data between two grids, which originate from the same coarse grid. Here are two approaches I can come up with. I would appreciate any of your feedbacks/suggestions. 1. Two triangulations and two dofhandlers. I can not get this to work using solution transfer