Hi Zhidong, I don't know what exactly you want to do but I found it quite useful that the CellId class has an order relation. That makes it usable in a std::map. Use the CellId (you can retrieve it through cell-->id() if cell is a cell accessor like the one you use to loop over all your cells) as a key then and connect to it an object that, for example, contains specific information about your cell(s).
Best, Konrad -- 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/829003a9-f318-4790-b957-9684aec7b91e%40googlegroups.com.