#include <fitness.hpp>
Public Member Functions | |
StaticNeighborhood () | |
Construct an empty neighborhood list. | |
void | setupList (const AtomList &al, Float_t cutoff, Float_t spacing) |
Initialize the neighborhood list. | |
const vector< unsigned int > | getNeighborhood (const Vec3_t &p) |
Return the indices of the atoms in the neighborhood. |
void paradocks::StaticNeighborhood::setupList | ( | const AtomList & | al, | |
Float_t | cutoff, | |||
Float_t | spacing | |||
) |
Initialize the neighborhood list.
al | atoms, which should be put in the neighborhood list. | |
cutoff | maximum distance for atoms which belong to the neighborhood. | |
spacing | lattice spacing. |
const vector<unsigned int> paradocks::StaticNeighborhood::getNeighborhood | ( | const Vec3_t & | p | ) |
Return the indices of the atoms in the neighborhood.
p | the returned neighborhood list is arround position p. |