Kien, It is impossible for us to tell what is going wrong with this little information. Please provide us with some more details. What does the part of the code that is responsible for setting the material id look like? Are you trying to set the material id on all cells or only on the locally owned (or locally relevant) ones? How do you notice that the code produces wrong results?
Best, Daniel -- 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/CAOYDWb%2BBmn9AogoR8SW_Da9vT6dOLSkA6Zv2Kc_2gOYD_7PaWQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.