Re: [deal.II] Parallel distributed hp solution transfer

2019-08-18 Thread Doug
Wow, I did not expect to get such a quick fix of an answer over the week-end. Thank you both for taking the time to answer. The key thing here really was to use set_future_fe_index() instead of set_active_fe_index(). Would it make sense to discontinue one of them in the future? Otherwise, I

Re: [deal.II] Step-29

2019-08-18 Thread Wolfgang Bangerth
On 8/18/19 2:46 AM, Muhammad Adil wrote: > It means if I want to use duh, dduh or normal etc I don't need to compute > just > update the flags using get_needed_update_flags(). Yes, that is correct! Best W. -- Wolfgang

Re: [deal.II] how to get the transpose of a block sparsity matrix?

2019-08-18 Thread hua zhang
Thank you very much, Prof.Bangerth. I have solved this problem using the first way you mentioned. 在 2019年8月18日星期日 UTC+8上午5:33:26,Wolfgang Bangerth写道: > > On 8/16/19 9:41 PM, hua zhang wrote: > > I am studying goal oriented adaptivity for FSI problems and > code it > > in deal.ii. The

Re: [deal.II] Parallel distributed hp solution transfer

2019-08-18 Thread Marc Fehling
Hi Doug, when dealing with distributed meshes, ownership of cells change and we may not know which finite element lives on cells that the process got recently assigned to. Thus, we need to transfer each cell's `active_fe_index`, which we do automatically during coarsening and refinement.

Re: [deal.II] Step-29

2019-08-18 Thread Muhammad Adil
Thank you Wolfgang Bangerth: It means if I want to use duh, dduh or normal etc I don't need to compute just update the flags using get_needed_update_flags(). Please respond on this. On Sun, Aug 18, 2019 at 7:00 AM Wolfgang Bangerth wrote: > > Muhammad, > > > When we get the solution of Helmoltz