Hi colleagues, I have a question for parallel::distributed::Triangulation When 2 cells share 1 edge, but they are living in 2 different MPI processes, how can I choose only 1 cell containing the common edge from them. I think I have to set material id for the cell in the first process, and then tell the other one do not set it. However, I don't know how to send the cell iterator in MPI communication.
Could you please help me to address this issue? Thank you very much. Best regards, Kien Vào Th 5, 18 thg 7, 2019 vào lúc 17:47 Wolfgang Bangerth < bange...@colostate.edu> đã viết: > On 7/17/19 7:46 PM, Phạm Ngọc Kiên wrote: > > I am trying to write codes to find a subset of cells that I want to set > their > > material id. > > The codes run well with 1 processor. > > However, when testing with more than 1 processor, the codes did wrong > things. > > This is because each processor only owns a subset of cells with > distributed > > triangulation. > > Do we have a way to address this issue in deal.II? > > In addition to Daniel's questions, take a look at the documentation of the > parallel::distributed::Triangulation class documentation. It talks about > similar issues with boundary ids. I would imagine that setting material > ids > poses similar challenges, and has similar solutions. > > Best > W. > > -- > ------------------------------------------------------------------------ > Wolfgang Bangerth email: bange...@colostate.edu > www: http://www.math.colostate.edu/~bangerth/ > > -- > 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/9afe5b13-a5db-ba22-81d1-acd9eb952d7d%40colostate.edu > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAAo%2BSZfi2S1S2OodmkS8Y-mbnVoSxq361WY9m_r5hFsxdysA6w%40mail.gmail.com.