ParM
parm
A molecular dynamics library
|
For iterating over all possible pairs. More...
#include <trackers.hpp>
Public Member Functions | |
GridIterator (Grid &grid) | |
GridIterator (Grid &grid, vector< set< AtomID > >::iterator cell1) | |
GridIterator & | operator++ () |
IDPair | operator* () |
bool | operator== (const GridIterator &other) |
bool | operator!= (const GridIterator &other) |
Protected Member Functions | |
bool | increment_cell1 () |
bool | increment_atom1 () |
bool | increment_cell2 () |
bool | increment_atom2 () |
Protected Attributes | |
Grid & | grid |
vector< set< AtomID > >::iterator | cell1 |
set< AtomID >::iterator | atom1 |
vector< uint > | neighbor_cells |
vector< uint >::iterator | cellnum2 |
set< AtomID > * | cell2 |
set< AtomID >::iterator | atom2 |
For iterating over all possible pairs.
GridIterator::GridIterator | ( | Grid & | grid | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
inline |
|
inline |
GridIterator & GridIterator::operator++ | ( | ) |
bool GridIterator::operator== | ( | const GridIterator & | other | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |