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));
Implementation of 1-D std::vector like structure.
Grid key for a distributed grid.
Iterator that Iterate across particle indexes.
vector_dist_iterator_subset(size_t start, size_t stop, const openfpm::vector< aggregate< int > > &pid)
Constructor of the distributed grid.
vector_dist_iterator_subset & operator++()
Get the next element.
vect_dist_key_dx get()
Get the actual key.
bool isNext()
Check if there is the next element.
void reset()
Reset the iterator.
size_t v_it
Actual iterator.
vect_dist_key_dx getOrig()
Get the actual key.
Iterator that Iterate across particle indexes.
vector_dist_iterator & operator++()
Get the next element.
bool isNext()
Check if there is the next element.
void reset()
Reset the iterator.
vect_dist_key_dx get()
Get the actual key.
vector_dist_iterator(size_t start, size_t stop)
Constructor of the distributed grid.
vect_dist_key_dx getOrig()
Get the actual key.
size_t v_it
Actual iterator.
aggregate of properties, from a list of object if create a struct that follow the OPENFPM native stru...