OpenFPM  5.2.0
Project that contain the implementation of distributed structures
ParticleIt_CellP< CellList_type > Class Template Reference

Public Member Functions

 ParticleIt_CellP (CellList_type &cellList)
 
ParticleIt_CellPoperator++ ()
 Get the next element. More...
 
bool isNext ()
 Checks if there is a next element. More...
 
size_t get ()
 Get the real particle id. More...
 
void reset ()
 Reset an iterator (set the counters to the first valid ones)
 

Private Member Functions

void selectValid ()
 Handles incrementing of cells and particles counters.
 

Private Attributes

CellList_type & cellList
 
size_t cellIndexAct
 
size_t partIndexAct
 

Detailed Description

template<typename CellList_type>
class ParticleIt_CellP< CellList_type >

Definition at line 13 of file CellListIterator.hpp.

Member Function Documentation

◆ get()

template<typename CellList_type >
size_t ParticleIt_CellP< CellList_type >::get ( )
inline

Get the real particle id.

Returns
the real particle id

Definition at line 82 of file CellListIterator.hpp.

◆ isNext()

template<typename CellList_type >
bool ParticleIt_CellP< CellList_type >::isNext ( )
inline

Checks if there is a next element.

Returns
true if there is the next, false otherwise

Definition at line 67 of file CellListIterator.hpp.

◆ operator++()

template<typename CellList_type >
ParticleIt_CellP& ParticleIt_CellP< CellList_type >::operator++ ( )
inline

Get the next element.

Returns
cell list iterator

Definition at line 52 of file CellListIterator.hpp.


The documentation for this class was generated from the following file: