ls1-MarDyn
ls1-MarDyn molecular dynamics code
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ParticleIterator Class Reference
Inheritance diagram for ParticleIterator:
RegionParticleIterator

Public Types

enum  Type { ALL_CELLS =0 , ONLY_INNER_AND_BOUNDARY =1 }
 
typedef std::vector< ParticleCellCellContainer_T
 
typedef CellContainer_T * CellContainer_T_ptr
 
typedef size_t CellIndex_T
 
typedef size_t MolIndex_T
 

Public Member Functions

 ParticleIterator (Type t_arg, CellContainer_T_ptr cells_arg, const CellIndex_T offset_arg, const CellIndex_T stride_arg, const bool initialize=true)
 
ParticleIteratoroperator= (const ParticleIterator &other)
 
Moleculeoperator* () const
 
Moleculeoperator-> () const
 
void deleteCurrentParticle ()
 
CellIndex_T getCellIndex ()
 
bool isValid () const
 
virtual void operator++ ()
 

Protected Member Functions

virtual void next_non_empty_cell ()
 
virtual void updateCellIteratorCell ()
 

Protected Attributes

SingleCellIterator< ParticleCell_cell_iterator
 
Type _type
 
CellContainer_T_ptr _cells
 
CellIndex_T _cell_index
 
const CellIndex_T _stride
 

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