[MOAB-dev] exchanging both quads and edges while exchanging ghosts cells

kanaev at ibrae.ac.ru kanaev at ibrae.ac.ru
Thu Apr 17 16:18:54 CDT 2014



 Hello Iulian,  

 I exchange one layer of ghost dim 3  

   result = pcomm->exchange_ghost_cells(3, // int ghost_dim,  

                                      0, // int bridge_dim,  

                                      1, //int num_layers,  

                                      2, //int addl_ents,  

                                      true); // bool
store_remote_handles);   
 then if i do:  
     result = mb->get_entities_by_dimension(0, 3, ents);  

     PRINT_LAST_ERROR;  
       for (moab::Range::iterator it = ents.begin(); it !=
ents.end(); it++) {  

       EntityHandle ent = *it;  

       HandleVec edges;  

       result = mb->get_adjacencies(&(ent), 1, 1, true, edges);  

       }  
 i'll have additional edges created which i don't need (because after
i save file writing everything i cannot load from it in parallel
afterwards)  

 I think i have to echange edges besides of quads during 
exchange_ghost_cells but it's not an option.  

 How can i avoid unnecessary
doubling of edges in this case?  
 Thanks  

 Anton  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/moab-dev/attachments/20140417/cf0c7257/attachment.html>


More information about the moab-dev mailing list