Go to the documentation of this file.
22 #ifndef __mapperNBS_hpp__
23 #define __mapperNBS_hpp__
68 return head_(i,j,k); }
131 bool nextOwner =
true);
168 bool& searchBoxChanged);
177 #endif // __mapperNBS_hpp__
INLINE_FUNCTION_HD uint32 next(uint32 n) const
INLINE_FUNCTION_HD mapperNBS()=default
void allocateArrays(rangeU32 nextRng)
INLINE_FUNCTION_HD int32x3 numCells() const
bool build(const deviceViewType1D< realx3 > &pointPos, const pFlagTypeDevice &flags, bool &searchBoxChanged)
INLINE_FUNCTION_HD ~mapperNBS()=default
bool setSearchBox(const deviceViewType1D< realx3 > &pointPos, const pFlagTypeDevice &flags, real cellSize)
static constexpr uint32 NoPos
Kokkos::View< T * > deviceViewType1D
1D array (vector) with default device (memory space and execution space)
void nullifyNext(rangeU32 nextRng)
static real enlargementFactor_
const auto & getSearchCells() const
Kokkos::View< T ***, Layout, void > deviceViewType3D
3D view on device as an array on device
INLINE_FUNCTION_HD uint32 start(int32 i, int32 j, int32 k) const
const auto & getDomainCells() const
CellIterator(const HeadType &head, const NextType &next)
static uint32 checkInterval_
deviceViewType3D< uint32 > HeadType
static constexpr uint32 NoPos
void checkAllocateNext(rangeU32 nextRng)
INLINE_FUNCTION_HD mapperNBS & operator=(const mapperNBS &)=default
auto getCellIterator() const
deviceViewType1D< uint32 > NextType
#define INLINE_FUNCTION_HD
INLINE_FUNCTION_HD uint32 getNext(uint32 n) const