> My situation is I have a std::vector has size n_global_active_cell, and every
> entry in std::vector stores a data for the corresponding cell in the global
> triangulation.
That's generally not good design -- you never want one processor to have to
store an amount of data that is proportional to the overall size of the problem.
> I guess I might need a map between Cellid and unsigned int to create and store
> the cell numbering information. Is it the best way to do this? Thanks.
Yes, a map should work.
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email:
bang...@math.tamu.edu
www:
http://www.math.tamu.edu/~bangerth/