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写道: > > 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 > <https://www.dealii.org/8.5.0/doxygen/deal.II/classhp_1_1DoFHandler.html> > or that of parallel::distributed::Triangulation > <https://www.dealii.org/8.5.0/doxygen/deal.II/classparallel_1_1distributed_1_1Triangulation.html>). > > So you should never be able to attach a > parallel::distributed::Triangulation to an hp::DoFHandler (see this line > of code > <https://github.com/dealii/dealii/blob/master/source/hp/dof_handler.cc#L1668>: > > have you run your program in debug mode?). You'll want to use the standard > SolutionTransfer > <https://www.dealii.org/8.5.0/doxygen/deal.II/classSolutionTransfer.html> > class with hp::DoFHandler. > > I hope that this helps. > > Regards, > Jean-Paul > > On Monday, May 15, 2017 at 4:03:47 PM UTC+2, Jack wrote: >> >> 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 >> > -- 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. For more options, visit https://groups.google.com/d/optout.