It seems that parallel::distributed::SolutionTransfer does not support hp::DoFHandler, how can I transfer solution after mesh changed

33 views
Skip to first unread message

Jack

unread,
May 15, 2017, 10:03:47 AM5/15/17
to deal.II User Group

Dear all,

 

I’m trying to using hp::DoFHandler to solve my problems. It seems that this type of dof handler does not work for solution transfer during parallel distributed computing. So is there any way to transfer solution after refining and coarsening of mesh when using hp::DoFHandler?

 

Many thanks!

 

Best,

 

Jack

Jean-Paul Pelteret

unread,
May 15, 2017, 10:27:22 AM5/15/17
to deal.II User Group
Hi Jack,

The hp::DoFHandler does not work at all for distributed meshes (although I see that this is not explicitly stated in the class documentation or that of parallel::distributed::Triangulation). So you should never be able to attach a parallel::distributed::Triangulation to an hp::DoFHandler (see this line of code: have you run your program in debug mode?). You'll want to use the standard SolutionTransfer class with hp::DoFHandler.

I hope that this helps.

Regards,
Jean-Paul

Jack

unread,
May 16, 2017, 1:10:08 AM5/16/17
to deal.II User Group
Hi Jean-Paul,

Thanks for your help. My program failed to compile, so I didn't run it and get such an assertion.  I see that the un-supporting of hp::DoFHandler for parallel distributed calculation in hp namespace. 

Thanks!

Regards,

Jack

在 2017年5月15日星期一 UTC+8下午10:27:22,Jean-Paul Pelteret写道:
Reply all
Reply to author
Forward
0 new messages