Inheritance diagram for CellList_cpu_ker< dim, T, Mem_type, transform_type >:Public Member Functions | |
| CellList_cpu_ker (const Mem_type &mt, openfpm::array< T, dim > &spacing_c, openfpm::array< ids_type, dim > &div_c, openfpm::array< ids_type, dim > &off, grid_sm< dim, void > &cellListGrid, Point< dim, long int > &cellShift, Box< dim, T > &cellListSpaceBox, const transform_type &pointTransform) | |
| __device__ unsigned int | getCell (const Point< dim, T > &xp) const |
| const __device__ grid_sm< dim, void > & | getGrid () const |
| Return the underlying grid information of the cell list. More... | |
| __device__ grid_key_dx< dim > | getCellGrid (const Point< dim, T > &pos) const |
| Get the cell-ids. More... | |
| __device__ grid_key_dx< dim > | getCellGrid (const T(&pos)[dim]) const |
| Get the cell-ids. More... | |
| __device__ size_t | ConvertToID (const T(&x)[dim], size_t s) const |
| Convert the coordinates into id. More... | |
| __device__ size_t | ConvertToID (const Point< dim, T > &x, size_t s, size_t sc=0) const |
| Convert the coordinates into id. More... | |
| __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... | |
Private Types | |
| typedef Mem_type::local_index_type | ids_type |
Private Attributes | |
| openfpm::array< T, dim > | spacing_c |
| Spacing. | |
| openfpm::array< ids_type, dim > | div_c |
| number of sub-divisions in each direction | |
| openfpm::array< ids_type, dim > | off |
| cell padding | |
| transform_type | pointTransform |
| transformation | |
| grid_sm< dim, void > | cellListGrid |
| Grid structure of the Cell list. | |
| Point< dim, long int > | cellShift |
| cellShift | |
| Box< dim, T > | cellListSpaceBox |
| Unit box of the Cell list. | |
Definition at line 14 of file CellList_cpu_ker.cuh.
|
inline |
Convert the coordinates into id.
| x | point |
| s | dimension |
Definition at line 137 of file CellList_cpu_ker.cuh.
|
inline |
Convert the coordinates into id.
| x | coordinate |
| s | dimension |
Definition at line 124 of file CellList_cpu_ker.cuh.
|
inline |
Get an element in the cell.
| i | property to get |
| cell | cell id |
| ele | element id |
Definition at line 166 of file CellList_cpu_ker.cuh.
|
inline |
Get the cell-ids.
Convert the point coordinates into the cell ids (Careful it include padding)
| pos | Point position |
Definition at line 83 of file CellList_cpu_ker.cuh.
|
inline |
Get the cell-ids.
Convert the point coordinates into the cell ids
| pos | Point position |
Definition at line 105 of file CellList_cpu_ker.cuh.
|
inline |
Return the underlying grid information of the cell list.
Definition at line 69 of file CellList_cpu_ker.cuh.
|
inline |
Return the number of elements in the cell.
| cell_id | id of the cell |
Definition at line 151 of file CellList_cpu_ker.cuh.