This class is the base class of neighbor search algorithms that can be applied to particle systems with periodic boundary conditions.
Attributes | |
SBQuantity::squareLength * | cutoffDistanceSquared |
SBQuantity::inverseLength * | inverseCutoffDistance |
SBPointer< SBParticleSystem > * | particleSystem |
The particle system the neighbor search algorithm is attached to. | |
Neighbor lists attributes | |
SBBuffer< SBVector< SBAtom * > * > * | neighborVectorBuffer |
The buffer containing the neighbor lists associated to each atom. | |
SBIAPosition3 * | boxPBC |
SBQuantity::length * | boxSizeX |
SBQuantity::length * | boxSizeY |
SBQuantity::length * | boxSizeZ |
Destructor | |
virtual | ~SBSNeighborSearchParticleSystemPBC () |
Neighbor lists | |
virtual void | initializeNeighborLists () |
virtual void | updateNeighborLists () |
SBVector< SBAtom * > * | getNeighborVector (unsigned int i) |
Neighbor search | |
virtual void | getNeighbors (SBVector< SBAtom * > &neighborVector, const SBPosition3 &position, const SBQuantity::length &radius) const |
Appends to neighborVector all atoms that are at a distance smaller than or equal to radius from the specified position . | |
virtual void | getNeighbors (SBVector< SBAtom * > &neighborVector, const SBIAPosition3 &box) const |
Appends to neighborVector all atoms inside the box . | |
Event handling <br> | |
void | onDynamicalEvent (SBDynamicalEvent *dynamicalEvent) |
Debugging | |
virtual void | print (unsigned int offset=0) const override |
Prints debugging information. | |
SBSNeighborSearchParticleSystemPBC (SBParticleSystem *, const SBQuantity::length &cutoffDistance) | |
Additional Inherited Members | |
Public Member Functions inherited from SBSNeighborSearch | |
virtual | ~SBSNeighborSearch () |
Public Member Functions inherited from SBCReferenceTarget | |
unsigned int | getMemoryFootprint () const |
void | printReferencesToOwners () const |
SBCReferenceTarget () | |
virtual | ~SBCReferenceTarget () |
Protected Member Functions inherited from SBSNeighborSearch | |
SBSNeighborSearch () | |
Protected Member Functions inherited from SBCReferenceTarget | |
void | removeAllReferenceOwners () |
SBCReferenceTarget (SBCReferenceTargetData *dataPointer) | |
Protected Attributes inherited from SBCReferenceTarget | |
SBCReferenceTargetData * | dataPointer |
|
virtual |
Reimplemented in SBSNeighborSearchParticleSystemGridPBC.
|
virtual |
Reimplemented in SBSNeighborSearchParticleSystemGridPBC.
|
overridevirtual |
Reimplemented from SBSNeighborSearch.
Reimplemented in SBSNeighborSearchParticleSystemGridPBC.
|
virtual |
Reimplemented in SBSNeighborSearchParticleSystemGridPBC.