OpenFPM  5.2.0
Project that contain the implementation of distributed structures
NN_gpu_it< dim, ids_type > Class Template Reference

Public Member Functions

__device__ NN_gpu_it (const grid_key_dx< dim, ids_type > &cellPosition, const openfpm::vector_gpu_ker< aggregate< unsigned int >, memory_traits_inte > &numPartInCellPrefixSum, const openfpm::vector_gpu_ker< aggregate< unsigned int >, memory_traits_inte > &sortedToUnsortedIndex, const openfpm::vector_gpu_ker< aggregate< int >, memory_traits_inte > &neighborCellOffset, const openfpm::array< ids_type, dim > &numCellDim)
 
__device__ NN_gpu_it (size_t p, const grid_key_dx< dim, ids_type > &cellPosition, const openfpm::vector_gpu_ker< aggregate< unsigned int >, memory_traits_inte > &numPartInCellPrefixSum, const openfpm::vector_gpu_ker< aggregate< unsigned int >, memory_traits_inte > &sortedToUnsortedIndex, const openfpm::vector_gpu_ker< aggregate< int >, memory_traits_inte > &neighborCellOffset, const openfpm::array< ids_type, dim > &numCellDim)
 
__device__ unsigned int get_sort ()
 
__device__ unsigned int get ()
 
__device__ NN_gpu_it< dim, ids_type > & operator++ ()
 
__device__ unsigned int get_start (unsigned int ce_id)
 
__device__ unsigned int get_cid ()
 
__device__ bool isNext ()
 
__device__ void nextCell ()
 

Private Member Functions

__device__ void SelectValid ()
 

Private Attributes

const openfpm::vector_gpu_ker< aggregate< unsigned int >, memory_traits_inte > & numPartInCellPrefixSum
 
const openfpm::vector_gpu_ker< aggregate< unsigned int >, memory_traits_inte > & sortedToUnsortedIndex
 
const openfpm::vector_gpu_ker< aggregate< int >, memory_traits_inte > & neighborCellOffset
 
unsigned int p
 
int neighborCellIndexAct
 
int cellPositionIndex
 
unsigned int boxNeighborCellOffset_i
 
unsigned int neighborPartIndexStart
 
unsigned int neighborPartIndexStop
 

Detailed Description

template<unsigned int dim, typename ids_type>
class NN_gpu_it< dim, ids_type >

Definition at line 8 of file CellList_gpu_ker.cuh.


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