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

Detailed Description

template<unsigned int dim, int r_int, unsigned int pr_int, typename ids_type, typename cnt_type>
struct NN_gpu_int_base_hr_impl< dim, r_int, pr_int, ids_type, cnt_type >

Definition at line 57 of file CellList_gpu_ker.cuh.

+ Inheritance diagram for NN_gpu_int_base_hr_impl< dim, r_int, pr_int, ids_type, cnt_type >:

Public Member Functions

__device__ __host__ void init_impl (const grid_key_dx< dim, ids_type > &cell_pos, const openfpm::array< ids_type, dim, cnt_type > &div_c)
 
__device__ __host__ void SelectValid_impl (const openfpm::array< ids_type, dim, cnt_type > &div_c)
 
__device__ __host__ bool isNext_impl ()
 

Data Fields

grid_key_dx< dim, ids_type > cell_act
 
grid_key_dx< dim, ids_type > cell_start
 
grid_key_dx< dim, ids_type > cell_stop
 
cnt_type c_id
 

Member Function Documentation

◆ init_impl()

template<unsigned int dim, int r_int, unsigned int pr_int, typename ids_type , typename cnt_type >
__device__ __host__ void NN_gpu_int_base_hr_impl< dim, r_int, pr_int, ids_type, cnt_type >::init_impl ( const grid_key_dx< dim, ids_type > &  cell_pos,
const openfpm::array< ids_type, dim, cnt_type > &  div_c 
)
inline

Definition at line 66 of file CellList_gpu_ker.cuh.

◆ isNext_impl()

template<unsigned int dim, int r_int, unsigned int pr_int, typename ids_type , typename cnt_type >
__device__ __host__ bool NN_gpu_int_base_hr_impl< dim, r_int, pr_int, ids_type, cnt_type >::isNext_impl ( )
inline

Definition at line 106 of file CellList_gpu_ker.cuh.

◆ SelectValid_impl()

template<unsigned int dim, int r_int, unsigned int pr_int, typename ids_type , typename cnt_type >
__device__ __host__ void NN_gpu_int_base_hr_impl< dim, r_int, pr_int, ids_type, cnt_type >::SelectValid_impl ( const openfpm::array< ids_type, dim, cnt_type > &  div_c)
inline

check the overflow of all the index with exception of the last dimensionality

Definition at line 78 of file CellList_gpu_ker.cuh.

Field Documentation

◆ c_id

template<unsigned int dim, int r_int, unsigned int pr_int, typename ids_type , typename cnt_type >
cnt_type NN_gpu_int_base_hr_impl< dim, r_int, pr_int, ids_type, cnt_type >::c_id

Definition at line 64 of file CellList_gpu_ker.cuh.

◆ cell_act

template<unsigned int dim, int r_int, unsigned int pr_int, typename ids_type , typename cnt_type >
grid_key_dx<dim,ids_type> NN_gpu_int_base_hr_impl< dim, r_int, pr_int, ids_type, cnt_type >::cell_act

Definition at line 59 of file CellList_gpu_ker.cuh.

◆ cell_start

template<unsigned int dim, int r_int, unsigned int pr_int, typename ids_type , typename cnt_type >
grid_key_dx<dim,ids_type> NN_gpu_int_base_hr_impl< dim, r_int, pr_int, ids_type, cnt_type >::cell_start

Definition at line 61 of file CellList_gpu_ker.cuh.

◆ cell_stop

template<unsigned int dim, int r_int, unsigned int pr_int, typename ids_type , typename cnt_type >
grid_key_dx<dim,ids_type> NN_gpu_int_base_hr_impl< dim, r_int, pr_int, ids_type, cnt_type >::cell_stop

Definition at line 62 of file CellList_gpu_ker.cuh.


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