On 10/20/19 5:42 PM, Zhidong Brian Zhang wrote:
> Thank you very much for your prompt reply, Konrad!
> 
> My confusion is the output of cell->id(), for example,
> 0_3:000
> 0_3:200
> 0_3:003
> 0_3:006
> 0_3:406
> 0_3:606
> 0_3:206
> 0_3:007
> 0_3:407
> 0_3:607
> 0_3:207.

These strings are simply a representation of the id of a cell -- they're only 
meant to be written to screen, but not interpreted by humans:
   https://github.com/dealii/dealii/pull/8934/files


> What type I need to use as the key in std::map? And is the map 
> parallel-distributed? Because my model requires that.

CellId can be used in a std::map without further ado because it has an 
operator<. But if you use std::map, then it only stores what you put in -- it 
has no concept of anything being distributed across processors.

Best
  W.

-- 
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                            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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/8b42b569-3154-ade8-3178-6256371ec836%40colostate.edu.

Reply via email to