www.cemf.ir
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

uint32IndexContainer getSortedIndices (box boundingBox, real dx, const ViewType1D< realx3 > &pos, const pFlagTypeDevice &flag)
 
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)