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

Detailed Description

template<unsigned int dim, typename cnt_type, typename ids_type>
class NN_gpu_it_radius< dim, cnt_type, ids_type >

Definition at line 297 of file CellList_gpu_ker.cuh.

Public Member Functions

__device__ __host__ NN_gpu_it_radius (const grid_key_dx< dim, ids_type > &cell_pos, const openfpm::vector_gpu_ker< aggregate< int >, memory_traits_inte > &cells, const openfpm::vector_gpu_ker< aggregate< cnt_type >, memory_traits_inte > &starts, const openfpm::vector_gpu_ker< aggregate< cnt_type >, memory_traits_inte > &srt, const openfpm::array< ids_type, dim, cnt_type > &div_c, const openfpm::array< ids_type, dim, cnt_type > &off)
 
__device__ cnt_type get_sort ()
 
__device__ cnt_type get ()
 
__device__ __host__ NN_gpu_it_radius< dim, cnt_type, ids_type > & operator++ ()
 
__device__ cnt_type get_start (unsigned int ce_id)
 
__device__ cnt_type get_cid ()
 
__device__ __host__ bool isNext ()
 

Private Member Functions

__device__ __host__ void SelectValid ()
 

Private Attributes

cnt_type pos
 
cnt_type act
 
const openfpm::vector_gpu_ker< aggregate< int >, memory_traits_inte > & cells
 
const openfpm::vector_gpu_ker< aggregate< cnt_type >, memory_traits_inte > & starts
 
const openfpm::vector_gpu_ker< aggregate< cnt_type >, memory_traits_inte > & srt
 
const openfpm::array< ids_type, dim, cnt_type > & div_c
 
const openfpm::array< ids_type, dim, cnt_type > & off
 
cnt_type p_id
 
cnt_type c_id
 

Constructor & Destructor Documentation

◆ NN_gpu_it_radius()

template<unsigned int dim, typename cnt_type , typename ids_type >
__device__ __host__ NN_gpu_it_radius< dim, cnt_type, ids_type >::NN_gpu_it_radius ( const grid_key_dx< dim, ids_type > &  cell_pos,
const openfpm::vector_gpu_ker< aggregate< int >, memory_traits_inte > &  cells,
const openfpm::vector_gpu_ker< aggregate< cnt_type >, memory_traits_inte > &  starts,
const openfpm::vector_gpu_ker< aggregate< cnt_type >, memory_traits_inte > &  srt,
const openfpm::array< ids_type, dim, cnt_type > &  div_c,
const openfpm::array< ids_type, dim, cnt_type > &  off 
)
inline

Definition at line 333 of file CellList_gpu_ker.cuh.

Member Function Documentation

◆ get()

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

Definition at line 355 of file CellList_gpu_ker.cuh.

◆ get_cid()

template<unsigned int dim, typename cnt_type , typename ids_type >
__device__ cnt_type NN_gpu_it_radius< dim, cnt_type, ids_type >::get_cid ( )
inline

Definition at line 374 of file CellList_gpu_ker.cuh.

◆ get_sort()

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

Definition at line 350 of file CellList_gpu_ker.cuh.

◆ get_start()

template<unsigned int dim, typename cnt_type , typename ids_type >
__device__ cnt_type NN_gpu_it_radius< dim, cnt_type, ids_type >::get_start ( unsigned int  ce_id)
inline

Definition at line 369 of file CellList_gpu_ker.cuh.

◆ isNext()

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

Definition at line 379 of file CellList_gpu_ker.cuh.

◆ operator++()

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

Definition at line 360 of file CellList_gpu_ker.cuh.

◆ SelectValid()

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

Definition at line 316 of file CellList_gpu_ker.cuh.

Field Documentation

◆ act

template<unsigned int dim, typename cnt_type , typename ids_type >
cnt_type NN_gpu_it_radius< dim, cnt_type, ids_type >::act
private

Definition at line 301 of file CellList_gpu_ker.cuh.

◆ c_id

template<unsigned int dim, typename cnt_type , typename ids_type >
cnt_type NN_gpu_it_radius< dim, cnt_type, ids_type >::c_id
private

Definition at line 314 of file CellList_gpu_ker.cuh.

◆ cells

template<unsigned int dim, typename cnt_type , typename ids_type >
const openfpm::vector_gpu_ker<aggregate<int>,memory_traits_inte>& NN_gpu_it_radius< dim, cnt_type, ids_type >::cells
private

Definition at line 303 of file CellList_gpu_ker.cuh.

◆ div_c

template<unsigned int dim, typename cnt_type , typename ids_type >
const openfpm::array<ids_type,dim,cnt_type>& NN_gpu_it_radius< dim, cnt_type, ids_type >::div_c
private

Definition at line 309 of file CellList_gpu_ker.cuh.

◆ off

template<unsigned int dim, typename cnt_type , typename ids_type >
const openfpm::array<ids_type,dim,cnt_type>& NN_gpu_it_radius< dim, cnt_type, ids_type >::off
private

Definition at line 311 of file CellList_gpu_ker.cuh.

◆ p_id

template<unsigned int dim, typename cnt_type , typename ids_type >
cnt_type NN_gpu_it_radius< dim, cnt_type, ids_type >::p_id
private

Definition at line 313 of file CellList_gpu_ker.cuh.

◆ pos

template<unsigned int dim, typename cnt_type , typename ids_type >
cnt_type NN_gpu_it_radius< dim, cnt_type, ids_type >::pos
private

Definition at line 299 of file CellList_gpu_ker.cuh.

◆ srt

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

Definition at line 307 of file CellList_gpu_ker.cuh.

◆ starts

template<unsigned int dim, typename cnt_type , typename ids_type >
const openfpm::vector_gpu_ker<aggregate<cnt_type>,memory_traits_inte>& NN_gpu_it_radius< dim, cnt_type, ids_type >::starts
private

Definition at line 305 of file CellList_gpu_ker.cuh.


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