mortonIndexing.hpp File Reference
+ Include dependency graph for mortonIndexing.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  indexMorton
 

Namespaces

 pFlow
 

Functions

bool getSortedIndex (box boundingBox, real dx, range activeRange, ViewType1D< realx3 > pos, ViewType1D< int8 > flag, int32IndexContainer &sortedIndex)
 
INLINE_FUNCTION_HD uint64_t splitBy3 (const uint64_t val)
 
INLINE_FUNCTION_HD uint64_t xyzToMortonCode64 (uint64_t x, uint64_t y, uint64_t z)
 
INLINE_FUNCTION_HD uint64_t getThirdBits (uint64_t x)
 
INLINE_FUNCTION_HD void mortonCode64Toxyz (uint64_t morton, uint64_t &x, uint64_t &y, uint64_t &z)