8 #ifndef VECTOR_DIST_ITERATOR_HPP_ 9 #define VECTOR_DIST_ITERATOR_HPP_ 11 #include "Vector/vector_dist_key.hpp" 12 #include "VCluster/VCluster.hpp" 183 v.setKey(pid.template get<0>(
v_it));
vector_dist_iterator_subset & operator++()
Get the next element.
vect_dist_key_dx get()
Get the actual key.
vector_dist_iterator & operator++()
Get the next element.
bool isNext()
Check if there is the next element.
size_t v_it
Actual iterator.
void reset()
Reset the iterator.
Iterator that Iterate across particle indexes.
Grid key for a distributed grid.
vector_dist_iterator(size_t start, size_t stop)
Constructor of the distributed grid.
bool isNext()
Check if there is the next element.
vect_dist_key_dx getOrig()
Get the actual key.
vect_dist_key_dx getOrig()
Get the actual key.
vector_dist_iterator_subset(size_t start, size_t stop, const openfpm::vector< aggregate< int >> &pid)
Constructor of the distributed grid.
Iterator that Iterate across particle indexes.
size_t v_it
Actual iterator.
void reset()
Reset the iterator.
vect_dist_key_dx get()
Get the actual key.
aggregate of properties, from a list of object if create a struct that follow the OPENFPM native stru...
Implementation of 1-D std::vector like structure.