On 07/03/2017 05:18 PM, Weixiong Zheng wrote:

What I couldn't understand is after setting up all the ids and printing out in my assembly function as
|
pcout <<cell->material_id ()<<std::endl;
|
I can see them.

I was wrong in my previous email: material_id is 'unsigned int', so you get to see it printed as an integer. But boundary_id is 'unsigned char', so you get to see it printed as a character (which may, in fact, not be printable of course, for some values).

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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to