1 #ifndef OPENFPM_DATA_SRC_NN_VERLETLIST_VERLETNNITERATOR_HPP_
2 #define OPENFPM_DATA_SRC_NN_VERLETLIST_VERLETNNITERATOR_HPP_
19 const typename Ver::Mem_type_type::local_index_type *
start;
22 const typename Ver::Mem_type_type::local_index_type *
stop;
25 const typename Ver::Mem_type_type::local_index_type *
ele_id;
75 inline typename Ver::Mem_type_type::local_index_type
get()
Iterator for the neighborhood of the cell structures.
Ver::Mem_type_type::local_index_type get()
Get the value of the cell.
const Ver::Mem_type_type::local_index_type * ele_id
actual neighborhood
void reset()
Resets the iterator to the starting position.
VerletNNIterator(size_t part_id, Ver &ver)
Cell NN iterator.
const Ver::Mem_type_type::local_index_type * start
start index for the neighborhood
bool isNext()
Check if there is the next element.
const Ver::Mem_type_type::local_index_type * stop
stop index for the neighborhood
VerletNNIterator & operator++()
take the next element