OpenFPM_pdata  1.1.0
Project that contain the implementation of distributed structures
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Friends Pages
ParticleIt_CellP< T > Class Template Reference

Detailed Description

template<typename T>
class ParticleIt_CellP< T >

Definition at line 13 of file CellListIterator.hpp.

Public Member Functions

 ParticleIt_CellP (T &NN)
 
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) More...
 

Private Member Functions

void fp ()
 Handles incrementing of cells and particles counters. More...
 

Private Attributes

T & NN
 Cell lisy.
 
size_t cell_count
 Cells counter.
 
size_t p_count
 Particles counter.
 

Member Function Documentation

template<typename T >
void ParticleIt_CellP< T >::fp ( )
inlineprivate

Handles incrementing of cells and particles counters.

Definition at line 30 of file CellListIterator.hpp.

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

Get the real particle id.

Returns
the real particle id

Definition at line 101 of file CellListIterator.hpp.

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

Checks if there is a next element.

Returns
true if there is the next, false otherwise

Definition at line 84 of file CellListIterator.hpp.

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

Get the next element.

Returns
cell list iterator

Definition at line 67 of file CellListIterator.hpp.

template<typename T >
void ParticleIt_CellP< T >::reset ( )
inline

Reset an iterator (set the counters to the first valid ones)

Definition at line 112 of file CellListIterator.hpp.


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