Hello -

I really would like to have a unique ID for each coarse cell regardless of 
the number of MPI processes. I have a distributed (not fullydistributed) 
triangulation. Testing the coarse_cell->index 
<https://www.dealii.org/current/doxygen/deal.II/classTriaAccessorBase.html#a6bebfc1e42324fbf595487e1bf668a22>()
 
method for a simple problem appears to provide exactly what I need but the 
documentation 
<https://www.dealii.org/current/doxygen/deal.II/DEALGlossary.html#GlossCoarseCellId>seems
 
to suggest that this isn't necessarily true.

The function "coarse_cell_id_to_coarse_cell_index 
<https://www.dealii.org/current/doxygen/deal.II/classparallel_1_1distributed_1_1Triangulation.html#a2b3e5307d74d2747acf0846eda3e8984>"
 
is private for the distributed triangulation but even if it were public I 
don't think it is what I want, since I am after unique cell identifiers 
when running the code with a different number of MPI ranks. In other words, 
I want cell 27 to remain cell 27 whether I run on 1 MPI rank or 10 MPI 
ranks.

Is this possible to do in deal.II? The only thing I know would work would 
be to use a unique material_id for each coarse cell in the domain but then 
I would no longer have the material_id functionality as originally intended.

Thanks in advance for your help,
Jonathan

-- 
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/48b7910c-20b4-456d-bd6e-c6501fe7e9ffn%40googlegroups.com.

Reply via email to