<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I forgot to reply to the list...<br><div><br><div>Begin forwarded message:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1.0);"><b>From: </b></span><span style="font-family:'Helvetica'; font-size:medium;">Lorenzo Alessio Botti <<a href="mailto:ihabiamx@yahoo.it">ihabiamx@yahoo.it</a>><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1.0);"><b>Subject: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><b>Re: [MOAB-dev] vertex to cell adjacencies in parallel</b><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1.0);"><b>Date: </b></span><span style="font-family:'Helvetica'; font-size:medium;">October 7, 2011 5:52:49 PM GMT+02:00<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1.0);"><b>To: </b></span><span style="font-family:'Helvetica'; font-size:medium;">Hong-Jun Kim <<a href="mailto:hongjun@mcs.anl.gov">hongjun@mcs.anl.gov</a>><br></span></div><br><div>Hi Hong-Jun,<br>I attach the code you can run it as <br>mpiexec -n 2 [exe_name] -P -R [path_to_one_of_the_mesh_files_here_attached] <br><br>Let me explain it a bit.<br>I start from a 5x5x5 hex cube with 2 partitions. <br><br>The cells on the interface form more or less a 5x5x1 25 hexes row.<br>(They do in the hex 27 mesh while in the hex 8 an hex is misplaced for some reason)<br><br>25 elements have a face on the interface, 25 elements share a face with owned cells,<br>20 elements have a face on boundary. You can take a look to the .vtk output. <br><br>Let me comment the output <br>iface faces size 25 ok<br>ghost cells size 50 shared = 25 ok, every face on iface has two neighbors one owned one not owned<br><br>Now the code searches the vertex adjacencies for the 25 owned cells, this is the output<br>owned entities = 25 adjacent entities not found = 45 this in wrong, the number of adjacencies not found should be 25 smaller, that is equal to number of faces on the boundary.<br><br>Thanks a lot.<br>Lorenzo<br></div></blockquote></div></body></html>