OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
NN_gpu_it< dim, cnt_type, ids_type, r_int, true > Class Template Reference

Detailed Description

template<unsigned int dim, typename cnt_type, typename ids_type, unsigned int r_int>
class NN_gpu_it< dim, cnt_type, ids_type, r_int, true >

Definition at line 217 of file CellList_gpu_ker.cuh.

Public Member Functions

__device__ NN_gpu_it (cnt_type c_id_sparse, const openfpm::vector_gpu_ker< aggregate< cnt_type >, memory_traits_inte > &cells_nn, const openfpm::vector_gpu_ker< aggregate< cnt_type, cnt_type >, memory_traits_inte > &cell_nn_list, const openfpm::vector_gpu_ker< aggregate< cnt_type >, memory_traits_inte > &srt)
 
__device__ cnt_type get_sort ()
 
__device__ cnt_type get ()
 
__device__ __host__ NN_gpu_it< dim, cnt_type, ids_type, r_int, true > & operator++ ()
 
__device__ __host__ bool isNext ()
 

Private Member Functions

__device__ __host__ void SelectValid ()
 

Private Attributes

cnt_type p_id
 
cnt_type p_id_end
 
cnt_type cells_list_start
 
cnt_type cells_list_stop
 
const openfpm::vector_gpu_ker< aggregate< cnt_type >, memory_traits_inte > & srt
 
const openfpm::vector_gpu_ker< aggregate< cnt_type >, memory_traits_inte > & cells_nn
 
const openfpm::vector_gpu_ker< aggregate< cnt_type, cnt_type >, memory_traits_inte > & cell_nn_list
 

Constructor & Destructor Documentation

◆ NN_gpu_it()

template<unsigned int dim, typename cnt_type , typename ids_type , unsigned int r_int>
__device__ NN_gpu_it< dim, cnt_type, ids_type, r_int, true >::NN_gpu_it ( cnt_type  c_id_sparse,
const openfpm::vector_gpu_ker< aggregate< cnt_type >, memory_traits_inte > &  cells_nn,
const openfpm::vector_gpu_ker< aggregate< cnt_type, cnt_type >, memory_traits_inte > &  cell_nn_list,
const openfpm::vector_gpu_ker< aggregate< cnt_type >, memory_traits_inte > &  srt 
)
inline

Definition at line 249 of file CellList_gpu_ker.cuh.

Member Function Documentation

◆ get()

template<unsigned int dim, typename cnt_type , typename ids_type , unsigned int r_int>
__device__ cnt_type NN_gpu_it< dim, cnt_type, ids_type, r_int, true >::get ( )
inline

Definition at line 276 of file CellList_gpu_ker.cuh.

◆ get_sort()

template<unsigned int dim, typename cnt_type , typename ids_type , unsigned int r_int>
__device__ cnt_type NN_gpu_it< dim, cnt_type, ids_type, r_int, true >::get_sort ( )
inline

Definition at line 271 of file CellList_gpu_ker.cuh.

◆ isNext()

template<unsigned int dim, typename cnt_type , typename ids_type , unsigned int r_int>
__device__ __host__ bool NN_gpu_it< dim, cnt_type, ids_type, r_int, true >::isNext ( )
inline

Definition at line 290 of file CellList_gpu_ker.cuh.

◆ operator++()

template<unsigned int dim, typename cnt_type , typename ids_type , unsigned int r_int>
__device__ __host__ NN_gpu_it< dim, cnt_type, ids_type, r_int, true > & NN_gpu_it< dim, cnt_type, ids_type, r_int, true >::operator++ ( )
inline

Definition at line 281 of file CellList_gpu_ker.cuh.

◆ SelectValid()

template<unsigned int dim, typename cnt_type , typename ids_type , unsigned int r_int>
__device__ __host__ void NN_gpu_it< dim, cnt_type, ids_type, r_int, true >::SelectValid ( )
inlineprivate

Definition at line 231 of file CellList_gpu_ker.cuh.

Field Documentation

◆ cell_nn_list

template<unsigned int dim, typename cnt_type , typename ids_type , unsigned int r_int>
const openfpm::vector_gpu_ker<aggregate<cnt_type,cnt_type>,memory_traits_inte>& NN_gpu_it< dim, cnt_type, ids_type, r_int, true >::cell_nn_list
private

Definition at line 229 of file CellList_gpu_ker.cuh.

◆ cells_list_start

template<unsigned int dim, typename cnt_type , typename ids_type , unsigned int r_int>
cnt_type NN_gpu_it< dim, cnt_type, ids_type, r_int, true >::cells_list_start
private

Definition at line 222 of file CellList_gpu_ker.cuh.

◆ cells_list_stop

template<unsigned int dim, typename cnt_type , typename ids_type , unsigned int r_int>
cnt_type NN_gpu_it< dim, cnt_type, ids_type, r_int, true >::cells_list_stop
private

Definition at line 223 of file CellList_gpu_ker.cuh.

◆ cells_nn

template<unsigned int dim, typename cnt_type , typename ids_type , unsigned int r_int>
const openfpm::vector_gpu_ker<aggregate<cnt_type>,memory_traits_inte>& NN_gpu_it< dim, cnt_type, ids_type, r_int, true >::cells_nn
private

Definition at line 227 of file CellList_gpu_ker.cuh.

◆ p_id

template<unsigned int dim, typename cnt_type , typename ids_type , unsigned int r_int>
cnt_type NN_gpu_it< dim, cnt_type, ids_type, r_int, true >::p_id
private

Definition at line 219 of file CellList_gpu_ker.cuh.

◆ p_id_end

template<unsigned int dim, typename cnt_type , typename ids_type , unsigned int r_int>
cnt_type NN_gpu_it< dim, cnt_type, ids_type, r_int, true >::p_id_end
private

Definition at line 220 of file CellList_gpu_ker.cuh.

◆ srt

template<unsigned int dim, typename cnt_type , typename ids_type , unsigned int r_int>
const openfpm::vector_gpu_ker<aggregate<cnt_type>,memory_traits_inte>& NN_gpu_it< dim, cnt_type, ids_type, r_int, true >::srt
private

Definition at line 225 of file CellList_gpu_ker.cuh.


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