Definition at line 21 of file MemFast.hpp.
Public Types | |
typedef local_index | local_index_type |
Public Member Functions | |
Mem_fast_ker (local_index slot, openfpm::vector_gpu_ker< aggregate< local_index >, layout_base > cl_n, openfpm::vector_gpu_ker< aggregate< local_index >, layout_base > cl_base) | |
__device__ int | getNelements (int id) const |
__device__ unsigned int | get (unsigned int cell, unsigned int ele) |
Get an element in the cell. | |
unsigned int | get (unsigned int cell, unsigned int ele) const |
Get an element in the cell. | |
Private Types | |
typedef openfpm::vector_gpu_ker< aggregate< local_index >, layout_base > | base |
base that store the data | |
Private Attributes | |
local_index | slot |
Number of slot for each cell. | |
openfpm::vector_gpu_ker< aggregate< local_index >, layout_base > | cl_n |
number of particle in each cell list | |
base | cl_base |
|
private |
base that store the data
Definition at line 30 of file MemFast.hpp.
typedef local_index Mem_fast_ker< Memory, layout_base, local_index >::local_index_type |
Definition at line 38 of file MemFast.hpp.
|
inline |
Definition at line 40 of file MemFast.hpp.
|
inline |
Get an element in the cell.
cell | id of the cell |
ele | element id in the cell |
Definition at line 57 of file MemFast.hpp.
|
inline |
Get an element in the cell.
cell | id of the cell |
ele | element id in the cell |
Definition at line 71 of file MemFast.hpp.
|
inline |
Definition at line 44 of file MemFast.hpp.
|
private |
elements that each cell store (each cell can store a number of elements == slot )
Definition at line 34 of file MemFast.hpp.
|
private |
number of particle in each cell list
Definition at line 27 of file MemFast.hpp.
|
private |
Number of slot for each cell.
Definition at line 24 of file MemFast.hpp.