Definition at line 14 of file CellList_cpu_ker.cuh.
Inheritance diagram for CellList_cpu_ker< dim, T, Mem_type, transform >:Public Member Functions | |
| 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, grid_sm< dim, void > &gr_cell, Point< dim, long int > &cell_shift, Box< dim, T > &box_unit, const transform &t) | |
| __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. | |
| __device__ grid_key_dx< dim > | getCellGrid (const Point< dim, T > &pos) const |
| Get the cell-ids. | |
| __device__ grid_key_dx< dim > | getCellGrid (const T(&pos)[dim]) const |
| Get the cell-ids. | |
| __device__ size_t | ConvertToID (const T(&x)[dim], size_t s) const |
| Convert the coordinates into id. | |
| __device__ size_t | ConvertToID (const Point< dim, T > &x, size_t s, size_t sc=0) const |
| Convert the coordinates into id. | |
| __device__ int | getNelements (unsigned int cell) const |
| Return the number of elements in the cell. | |
| __device__ unsigned int | get (unsigned int cell, unsigned int ele) |
| Get an element in the cell. | |
Private Types | |
| typedef Mem_type::local_index_type | cnt_type |
| typedef Mem_type::local_index_type | ids_type |
Private Attributes | |
| openfpm::array< T, dim, cnt_type > | spacing_c |
| Spacing. | |
| openfpm::array< ids_type, dim, cnt_type > | div_c |
| number of sub-divisions in each direction | |
| openfpm::array< ids_type, dim, cnt_type > | off |
| cell padding | |
| transform | t |
| transformation | |
| grid_sm< dim, void > | gr_cell |
| Grid structure of the Cell list. | |
| Point< dim, long int > | cell_shift |
| cell_shift | |
| Box< dim, T > | box_unit |
| Unit box of the Cell list. | |
|
private |
Definition at line 16 of file CellList_cpu_ker.cuh.
|
private |
Definition at line 18 of file CellList_cpu_ker.cuh.
|
inline |
Definition at line 43 of file CellList_cpu_ker.cuh.
|
inline |
Convert the coordinates into id.
| x | point |
| s | dimension |
Definition at line 132 of file CellList_cpu_ker.cuh.
|
inline |
Convert the coordinates into id.
| x | coordinate |
| s | dimension |
Definition at line 119 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 161 of file CellList_cpu_ker.cuh.
|
inline |
Definition at line 54 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 78 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 100 of file CellList_cpu_ker.cuh.
|
inline |
Return the underlying grid information of the cell list.
Definition at line 64 of file CellList_cpu_ker.cuh.
|
inline |
Return the number of elements in the cell.
| cell_id | id of the cell |
Definition at line 146 of file CellList_cpu_ker.cuh.
|
private |
Unit box of the Cell list.
Definition at line 39 of file CellList_cpu_ker.cuh.
|
private |
cell_shift
Definition at line 36 of file CellList_cpu_ker.cuh.
|
private |
number of sub-divisions in each direction
Definition at line 24 of file CellList_cpu_ker.cuh.
|
private |
Grid structure of the Cell list.
Definition at line 33 of file CellList_cpu_ker.cuh.
|
private |
cell padding
Definition at line 27 of file CellList_cpu_ker.cuh.
|
private |
Spacing.
Definition at line 21 of file CellList_cpu_ker.cuh.
|
private |
transformation
Definition at line 30 of file CellList_cpu_ker.cuh.