OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
cid_< 1, cnt_type, ids_type, transform > Struct Template Reference

Detailed Description

template<typename cnt_type, typename ids_type, typename transform>
struct cid_< 1, cnt_type, ids_type, transform >

Definition at line 55 of file Cuda_cell_list_util_func.hpp.

Static Public Member Functions

static __device__ __host__ cnt_type get_cid (const openfpm::array< ids_type, 1, cnt_type > &div_c, ids_type *e)
 
static __device__ __host__ cnt_type get_cid (const openfpm::array< ids_type, 1, cnt_type > &div_c, const grid_key_dx< 1, ids_type > &e)
 
template<typename T >
static __device__ __host__ cnt_type get_cid (const openfpm::array< ids_type, 1, cnt_type > &div_c, const openfpm::array< T, 1, cnt_type > &spacing, const openfpm::array< ids_type, 1, cnt_type > &off, const transform &t, const Point< 1, T > &p)
 
template<typename T >
static __device__ __host__ cnt_type get_cid (const openfpm::array< ids_type, 1, cnt_type > &div_c, const openfpm::array< T, 1, cnt_type > &spacing, const openfpm::array< ids_type, 1, cnt_type > &off, const transform &t, const T *p, ids_type *e)
 
template<typename T >
static __device__ __host__ grid_key_dx< 2, ids_type > get_cid_key (const openfpm::array< T, 1, cnt_type > &spacing, const openfpm::array< ids_type, 1, cnt_type > &off, const transform &t, const Point< 2, T > &p)
 
template<typename U = cnt_type, typename sfinae = typename std::enable_if<std::is_same<ids_type,U>::value >::type>
static __device__ __host__ cnt_type get_cid (const openfpm::array< ids_type, 1, cnt_type > &div_c, const grid_key_dx< 1, cnt_type > &e)
 

Member Function Documentation

◆ get_cid() [1/5]

template<typename cnt_type , typename ids_type , typename transform >
template<typename U = cnt_type, typename sfinae = typename std::enable_if<std::is_same<ids_type,U>::value >::type>
static __device__ __host__ cnt_type cid_< 1, cnt_type, ids_type, transform >::get_cid ( const openfpm::array< ids_type, 1, cnt_type > &  div_c,
const grid_key_dx< 1, cnt_type > &  e 
)
inlinestatic

Definition at line 102 of file Cuda_cell_list_util_func.hpp.

◆ get_cid() [2/5]

template<typename cnt_type , typename ids_type , typename transform >
static __device__ __host__ cnt_type cid_< 1, cnt_type, ids_type, transform >::get_cid ( const openfpm::array< ids_type, 1, cnt_type > &  div_c,
const grid_key_dx< 1, ids_type > &  e 
)
inlinestatic

Definition at line 62 of file Cuda_cell_list_util_func.hpp.

◆ get_cid() [3/5]

template<typename cnt_type , typename ids_type , typename transform >
template<typename T >
static __device__ __host__ cnt_type cid_< 1, cnt_type, ids_type, transform >::get_cid ( const openfpm::array< ids_type, 1, cnt_type > &  div_c,
const openfpm::array< T, 1, cnt_type > &  spacing,
const openfpm::array< ids_type, 1, cnt_type > &  off,
const transform &  t,
const Point< 1, T > &  p 
)
inlinestatic

Definition at line 67 of file Cuda_cell_list_util_func.hpp.

◆ get_cid() [4/5]

template<typename cnt_type , typename ids_type , typename transform >
template<typename T >
static __device__ __host__ cnt_type cid_< 1, cnt_type, ids_type, transform >::get_cid ( const openfpm::array< ids_type, 1, cnt_type > &  div_c,
const openfpm::array< T, 1, cnt_type > &  spacing,
const openfpm::array< ids_type, 1, cnt_type > &  off,
const transform &  t,
const T *  p,
ids_type *  e 
)
inlinestatic

Definition at line 76 of file Cuda_cell_list_util_func.hpp.

◆ get_cid() [5/5]

template<typename cnt_type , typename ids_type , typename transform >
static __device__ __host__ cnt_type cid_< 1, cnt_type, ids_type, transform >::get_cid ( const openfpm::array< ids_type, 1, cnt_type > &  div_c,
ids_type *  e 
)
inlinestatic

Definition at line 57 of file Cuda_cell_list_util_func.hpp.

◆ get_cid_key()

template<typename cnt_type , typename ids_type , typename transform >
template<typename T >
static __device__ __host__ grid_key_dx< 2, ids_type > cid_< 1, cnt_type, ids_type, transform >::get_cid_key ( const openfpm::array< T, 1, cnt_type > &  spacing,
const openfpm::array< ids_type, 1, cnt_type > &  off,
const transform &  t,
const Point< 2, T > &  p 
)
inlinestatic

Definition at line 89 of file Cuda_cell_list_util_func.hpp.


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