www.cemf.ir
mapperNBS::CellIterator Class Reference

Public Member Functions

 CellIterator (const HeadType &head, const NextType &next)
 
INLINE_FUNCTION_HD int32x3 numCells () const
 
INLINE_FUNCTION_HD uint32 start (int32 i, int32 j, int32 k) const
 
INLINE_FUNCTION_HD uint32 getNext (uint32 n) const
 
INLINE_FUNCTION_HD uint32 next (uint32 n) const
 

Static Public Attributes

static constexpr uint32 NoPos = 0xFFFFFFFF
 

Private Attributes

HeadType head_
 
NextType next_
 

Detailed Description

Definition at line 45 of file mapperNBS.hpp.

Constructor & Destructor Documentation

◆ CellIterator()

CellIterator ( const HeadType head,
const NextType next 
)
inline

Definition at line 54 of file mapperNBS.hpp.

Member Function Documentation

◆ numCells()

INLINE_FUNCTION_HD int32x3 numCells ( ) const
inline

Definition at line 63 of file mapperNBS.hpp.

References mapperNBS::CellIterator::head_.

Referenced by pFlow::NBSLevel0Kernels::findPairsCount().

+ Here is the caller graph for this function:

◆ start()

INLINE_FUNCTION_HD uint32 start ( int32  i,
int32  j,
int32  k 
) const
inline

Definition at line 67 of file mapperNBS.hpp.

References mapperNBS::CellIterator::head_.

Referenced by cellsWallLevel0::findPairsElementRangeCount().

+ Here is the caller graph for this function:

◆ getNext()

INLINE_FUNCTION_HD uint32 getNext ( uint32  n) const
inline

Definition at line 71 of file mapperNBS.hpp.

References n, mapperNBS::CellIterator::next_, and mapperNBS::CellIterator::NoPos.

◆ next()

INLINE_FUNCTION_HD uint32 next ( uint32  n) const
inline

Definition at line 76 of file mapperNBS.hpp.

References n, and mapperNBS::CellIterator::next_.

Referenced by cellsWallLevel0::findPairsElementRangeCount().

+ Here is the caller graph for this function:

Member Data Documentation

◆ head_

HeadType head_
private

◆ next_

NextType next_
private

◆ NoPos

constexpr uint32 NoPos = 0xFFFFFFFF
staticconstexpr

The documentation for this class was generated from the following file: