Hello,

I figured out how to do the interpolation  using 
GridTools:get_finest_common_cells().
But I ran into this error shown in the attachment. Two possible reasons:

1. The way I create the two triangulations from the same coarse grid is not 
correct.
2. The function, get_finest_common_cells(), does not work for distributed 
triangulations when the two grids are not identical. 

If it is the first case,  any example would be appreciated.
If it is the second case, is there other solution?


Thanks,
Yu


On Sunday, January 31, 2021 at 2:35:28 PM UTC-5 Yu Leng wrote:

> 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 even if I reinitialize the dofhandler with another 
> triangulation.
>
> 2. One triangulation. Store the refinement/coarsen history and 
> refine/coarsen every time I transfer data. 
>
>
> Thanks,
> Yu
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/369d5d28-8076-4479-92fa-64c84b5d8f2cn%40googlegroups.com.

Reply via email to