ParM
parm
A molecular dynamics library
|
For iterating over all pairs of a single Atom. More...
#include <trackers.hpp>
Public Types | |
typedef set< AtomID >::iterator | end_type |
Public Member Functions | |
GridPairedIterator (Grid &grid, AtomID a) | |
GridPairedIterator & | operator++ () |
AtomID | operator* () |
bool | operator== (const GridPairedIterator &other) |
bool | operator!= (const GridPairedIterator &other) |
bool | operator== (const end_type other) |
bool | operator!= (const end_type other) |
end_type | end () |
Protected Member Functions | |
bool | increment_cell2 () |
returns "successful increment", e.g. More... | |
bool | increment_atom2 () |
Protected Attributes | |
Grid & | grid |
AtomID | atom1 |
vector< uint > | neighbor_cells |
vector< uint >::iterator | cellnum2 |
set< AtomID > * | cell2 |
set< AtomID >::iterator | atom2 |
For iterating over all pairs of a single Atom.
typedef set<AtomID>::iterator GridPairedIterator::end_type |
|
inline |
|
protected |
|
protected |
returns "successful increment", e.g.
cell1 points to an element
|
inline |
|
inline |
|
inline |
GridPairedIterator & GridPairedIterator::operator++ | ( | ) |
bool GridPairedIterator::operator== | ( | const GridPairedIterator & | other | ) |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |