8#ifndef OPENFPM_DATA_SRC_GRID_ITERATORS_GRID_KEY_DX_ITERATOR_SP_HPP_
9#define OPENFPM_DATA_SRC_GRID_ITERATORS_GRID_KEY_DX_ITERATOR_SP_HPP_
27template<
unsigned int dim>
101 for (
int i = dim-1 ; i >= 0 ; i-- )
grid_key_dx< dim > gk_stop
stop point
grid_key_dx_iterator_sp(grid_sm< dim, T > &g, mem_id from, mem_id to)
Constructor require a grid grid<dim,T>
bool isNext()
Check if there is the next element.
grid_key_dx< dim > gk
Actual key.
grid_key_dx is the key to access any element in the grid
__device__ __host__ index_type get(index_type i) const
Get the i index.
__device__ __host__ grid_key_dx< N > InvLinId(mem_id id) const
Construct.