8 #ifndef OPENFPM_DATA_SRC_NN_VERLETLIST_VERLETNNITERATOR_HPP_
9 #define OPENFPM_DATA_SRC_NN_VERLETLIST_VERLETNNITERATOR_HPP_
15 #define VL_NON_SYMMETRIC 0
16 #define VL_SYMMETRIC 1
17 #define VL_CRS_SYMMETRIC 2
34 const typename Ver::Mem_type_type::loc_index *
start;
37 const typename Ver::Mem_type_type::loc_index *
stop;
40 const typename Ver::Mem_type_type::loc_index *
ele_id;
56 :
start(&ver.getStart(part_id)),
stop(&ver.getStop(part_id)),ver(ver)
90 inline typename Ver::Mem_type_type::loc_index
get()
const Ver::Mem_type_type::loc_index * stop
stop index for the neighborhood
Iterator for the neighborhood of the cell structures.
const Ver::Mem_type_type::loc_index * start
start index for the neighborhood
bool isNext()
Check if there is the next element.
const Ver::Mem_type_type::loc_index * ele_id
actual neighborhood
VerletNNIterator(size_t part_id, Ver &ver)
Cell NN iterator.
VerletNNIterator & operator++()
take the next element