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_
27 template<
unsigned int dim>
101 for (
int i = dim-1 ; i >= 0 ; i-- )
104 if (this->gk.get(i) <
gk_stop.get(i))
106 else if (this->gk.get(i) >
gk_stop.get(i))
grid_key_dx is the key to access any element in the grid
grid_key_dx_iterator_sp(grid_sm< dim, T > &g, mem_id from, mem_id to)
Constructor require a grid grid<dim,T>
grid_key_dx< N > InvLinId(mem_id id) const
Construct.
bool isNext()
Check if there is the next element.
grid_key_dx< dim > gk_stop
stop point