This class is the base class of neighbor search algorithms that can be applied to particle systems with periodic boundary conditions.
Protected Member Functions | |
SBSNeighborSearchParticleSystemPBC (SBParticleSystem *, const SBQuantity::length &cutoffDistance) | |
![]() | |
void | removeAllReferenceOwners () |
SBCReferenceTarget (SBCReferenceTargetData *dataPointer) | |
Protected Attributes | |
SBIAPosition3 * | boxPBC |
SBQuantity::length * | boxSizeX |
SBQuantity::length * | boxSizeY |
SBQuantity::length * | boxSizeZ |
![]() | |
SBCReferenceTargetData * | dataPointer |
Destructor | |
virtual | ~SBSNeighborSearchParticleSystemPBC () |
Neighbor lists | |
virtual void | initializeNeighborLists () |
virtual void | updateNeighborLists () |
SBVector< SBStructuralParticle * > * | getNeighborVector (unsigned int i) |
Neighbor search | |
virtual void | getNeighbors (SBVector< SBStructuralParticle *> &neighborVector, const SBPosition3 &position, const SBQuantity::length &radius) const |
Appends to neighborVector all structural particles that are at a distance smaller than or equal to radius from the specified position . | |
virtual void | getNeighbors (SBVector< SBStructuralParticle *> &neighborVector, const SBIAPosition3 &box) const |
Appends to neighborVector all structural particles inside the box . | |
Event handling | |
void | onDynamicalEvent (SBDynamicalEvent *dynamicalEvent) |
Debugging | |
virtual void | print (unsigned int offset=0) const |
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< SBStructuralParticle * > * > * | neighborVectorBuffer |
The buffer containing the neighbor lists associated to each particle. | |
Additional Inherited Members | |
![]() | |
virtual | ~SBSNeighborSearch () |
![]() | |
SBCReferenceTarget () | |
virtual | ~SBCReferenceTarget () |
unsigned int | getMemoryFootprint () const |
void | printReferencesToOwners () const |