This iterator iterate across the particles of a Cell-list following the Cell structure.
bool isNext()
Return true if there is the next particle.
size_t get()
Get the actual particle id.
void selectValid()
Adjust the counters to reach a valid particle element.
ParticleIt_Cells(CellListType &cli, const openfpm::vector< size_t > &dom_cell, size_t g_m)
Initialize the iterator.
ParticleIt_Cells & operator++()
Increment to the next particle.
const openfpm::vector< size_t > & dom_cell
List of all the domain cells.