template<unsigned int dim, typename T, typename Mem_type, typename transform>
class CellList_cpu_ker< dim, T, Mem_type, transform >
Definition at line 14 of file CellList_cpu_ker.cuh.
|
| CellList_cpu_ker (const Mem_type &mt, openfpm::array< T, dim, cnt_type > &spacing_c, openfpm::array< ids_type, dim, cnt_type > &div_c, openfpm::array< ids_type, dim, cnt_type > &off, const transform &t) |
|
__device__ unsigned int | getCell (const Point< dim, T > &xp) const |
|
__device__ int | getNelements (unsigned int cell) const |
| Return the number of elements in the cell. More...
|
|
__device__ unsigned int | get (unsigned int cell, unsigned int ele) |
| Get an element in the cell. More...
|
|
|
typedef Mem_type::local_index_type | cnt_type |
|
typedef Mem_type::local_index_type | ids_type |
|
◆ get()
template<unsigned int dim, typename T, typename Mem_type, typename transform>
__device__ unsigned int CellList_cpu_ker< dim, T, Mem_type, transform >::get |
( |
unsigned int |
cell, |
|
|
unsigned int |
ele |
|
) |
| |
|
inline |
Get an element in the cell.
- Template Parameters
-
- Parameters
-
cell | cell id |
ele | element id |
- Returns
- The element value
Definition at line 69 of file CellList_cpu_ker.cuh.
◆ getNelements()
template<unsigned int dim, typename T, typename Mem_type, typename transform>
__device__ int CellList_cpu_ker< dim, T, Mem_type, transform >::getNelements |
( |
unsigned int |
cell | ) |
const |
|
inline |
Return the number of elements in the cell.
- Parameters
-
- Returns
- number of elements in the cell
Definition at line 54 of file CellList_cpu_ker.cuh.
The documentation for this class was generated from the following file: