[FLASH-USERS] Internal Block IDs

Anshu Dubey dubey at flash.uchicago.edu
Thu Aug 3 10:17:14 EDT 2017


They tend to be consecutive in the space filling curve (but not
guaranteed), but not spatially.

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:
Grid_getBlkIDFromPos
<http://flash.uchicago.edu/site/flashcode/user_support/robodoc-FLASH4_4p4/home.py?submit=docs/source/Grid/Grid_getBlkIDFromPos_F90.html#robo138>
<http://flash.uchicago.edu/site/flashcode/user_support/robodoc-FLASH4_4p4/home.py?submit=docs/source/Grid/Grid_getBlkIDFromPos_F90.html#robo138>
Grid_getBlkIDFromPosForListsOfBlocks
<http://flash.uchicago.edu/site/flashcode/user_support/robodoc-FLASH4_4p4/home.py?submit=docs/source/Grid/Grid_getBlkIDFromPosForListsOfBlocks_F90.html#robo139>


On Thu, Aug 3, 2017 at 6:56 AM, Manuel Jung <manuel.jung at hs.uni-hamburg.de>
wrote:

> Hi,
>
> Are leaf block IDs as returned by
> Grid_getListOfBlocks(LEAF, ...)
> always consecutive?
>
> The CornerIDs are handy, but is there a way to convert back from CornerID
> -> BlkID?
>
> Kind regards,
> Manuel
>
>
> --
> Manuel Jung, Dr. rer. nat.
> Hamburger Sternwarte
> Universität Hamburg
> Gojenbergsweg 112
> 21029 Hamburg
>



-- 
********************************************************
Anshu Dubey
630 252 3313 (work)
312 420 0033 (mobile)
Argonne National Laboratory
********************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20170803/b64c1de6/attachment.htm>


More information about the flash-users mailing list