<div dir="ltr">They tend to be consecutive in the space filling curve (but not guaranteed), but not spatially. <div><br><div><div>You can place a block in the physical domain from cornerId very easily, there is no direct map back to blockID, because of space filling curve. There are interfaces that do the backmap for you from coordinates, so you could translate corner id into a position in the block and use these interfaces to find blockID. The interfaces are:</div></div></div><div><tt style="margin:0px;padding:0px;color:rgb(0,0,102);text-decoration-line:none;font-family:Times;font-size:14.6667px"><a href="http://flash.uchicago.edu/site/flashcode/user_support/robodoc-FLASH4_4p4/home.py?submit=docs/source/Grid/Grid_getBlkIDFromPos_F90.html#robo138" style="margin:0px;padding:0px;color:rgb(0,0,102);text-decoration-line:none;font-family:Times;font-size:14.6667px" target="_blank">Grid_getBlkIDFromPos</a><a href="http://flash.uchicago.edu/site/flashcode/user_support/robodoc-FLASH4_4p4/home.py?submit=docs/source/Grid/Grid_getBlkIDFromPos_F90.html#robo138" target="_blank"></a></tt><br></div><div><a href="http://flash.uchicago.edu/site/flashcode/user_support/robodoc-FLASH4_4p4/home.py?submit=docs/source/Grid/Grid_getBlkIDFromPosForListsOfBlocks_F90.html#robo139" style="margin:0px;padding:0px;color:rgb(0,0,102);text-decoration-line:none;font-family:Times;font-size:14.6667px" target="_blank"><tt style="margin:0px;padding:0px">Grid_<wbr>getBlkIDFromPosForListsOfBlock<wbr>s</tt></a><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 3, 2017 at 6:56 AM, Manuel Jung <span dir="ltr"><<a href="mailto:manuel.jung@hs.uni-hamburg.de" target="_blank">manuel.jung@hs.uni-hamburg.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi,<br><br></div>Are leaf block IDs as returned by<br>Grid_getListOfBlocks(LEAF, ...)<br></div>always consecutive?<br><br></div>The CornerIDs are handy, but is there a way to convert back from CornerID -> BlkID?<br><br></div><div>Kind regards,<br></div><div>Manuel<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div><div><div><div><div><div><div><br clear="all"><br>-- <br><div class="m_5059363089181043428gmail_signature"><div dir="ltr"><span><div><div dir="ltr"><div>Manuel Jung, Dr. rer. nat.</div><div>Hamburger Sternwarte<br> Universität Hamburg<br> Gojenbergsweg 112<br> 21029 Hamburg </div></div></div></span></div></div></div></div></div></div></div></div></div></font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>********************************************************<br>Anshu Dubey<br></div><div>630 252 3313 (work)<br></div><div>312 420 0033 (mobile)<br>Argonne National Laboratory<br>********************************************************</div></div></div>
</div>