This class describes a grid-based neighbor search algorithm that can be applied to particle systems.
Destructor | |
| SBSNeighborSearchParticleSystemGrid (SBParticleSystem *, const SBQuantity::length &cutoffDistance) | |
| virtual | ~SBSNeighborSearchParticleSystemGrid () |
Neighbor lists | |
| virtual void | initializeNeighborLists () |
| virtual void | updateNeighborLists () |
Neighbor search | |
| virtual void | getNeighbors (SBIndexer< SBStructuralParticle *> &neighborIndexer, const SBPosition3 &position, const SBQuantity::length &radius) const |
Appends to neighborIndexer all structural particles that are at a distance smaller than or equal to radius from the specified position. | |
| virtual void | getNeighbors (SBIndexer< SBStructuralParticle *> &neighborIndexer, const SBIAPosition3 &box) const |
Appends to neighborIndexer all structural particles inside the box. | |
Event handling | |
| void | onDynamicalEvent (SBDynamicalEvent *dynamicalEvent) |
Debugging | |
| virtual void | print (unsigned int offset=0) const |
Additional Inherited Members | |
Public Member Functions inherited from SBSNeighborSearchParticleSystem | |
| virtual | ~SBSNeighborSearchParticleSystem () |
| SBIndexer< SBStructuralParticle * > const * | getNeighborIndexer (unsigned int i) |
| void | onDynamicalEvent (SBDynamicalEvent *dynamicalEvent) |
Public Member Functions inherited from SBSNeighborSearch | |
| virtual | ~SBSNeighborSearch () |
Public Member Functions inherited from SBCReferenceTarget | |
| SBCReferenceTarget () | |
| virtual | ~SBCReferenceTarget () |
| unsigned int | getMemoryFootprint () const |
| void | printReferencesToOwners () const |
Protected Attributes inherited from SBSNeighborSearchParticleSystem | |
| SBQuantity::squareLength * | cutoffDistanceSquared |
| SBQuantity::inverseLength * | inverseCutoffDistance |
| SBPointer< SBParticleSystem > * | particleSystem |
| The particle system the neighbor search algorithm is attached to. | |
| SBBuffer< SBIndexer< SBStructuralParticle * > * > * | neighborIndexerBuffer |
| The buffer containing the neighbor lists associated to each particle. | |