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.

Reply via email to