Class SBSNeighborSearchParticleSystemPBC#
ClassList > SBSNeighborSearchParticleSystemPBC
#include <SBSNeighborSearchParticleSystemPBC.hpp>
Inherits the following classes: SBSNeighborSearch
Inherited by the following classes: SBSNeighborSearchParticleSystemGridPBC
Public Functions#
| Type | Name |
|---|---|
| SBVector< SBAtom * > * | getNeighborVector (unsigned int i) |
| 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 toradius from the specifiedposition . |
| virtual void | getNeighbors (SBVector< SBAtom * > & neighborVector, const SBIAPosition3 & box) const Appends to neighborVector all atoms inside thebox . |
| virtual void | initializeNeighborLists () |
| void | onDynamicalEvent (SBDynamicalEvent * dynamicalEvent) |
| virtual void | print (unsigned int offset=0) override const Prints debugging information. |
| virtual void | updateNeighborLists () |
| virtual | ~SBSNeighborSearchParticleSystemPBC () |
Public Functions inherited from SBSNeighborSearch#
| Type | Name |
|---|---|
| virtual void | print (unsigned int offset=0) const Prints debugging information. |
| virtual | ~SBSNeighborSearch () |
Public Functions inherited from SBCReferenceTarget#
| Type | Name |
|---|---|
| SBCReferenceTarget () |
|
| unsigned int | getMemoryFootprint () const |
| void | printReferencesToOwners () const |
| virtual | ~SBCReferenceTarget () |
Protected Attributes#
| Type | Name |
|---|---|
| SBIAPosition3 * | boxPBC |
| SBQuantity::length * | boxSizeX |
| SBQuantity::length * | boxSizeY |
| SBQuantity::length * | boxSizeZ |
| SBQuantity::squareLength * | cutoffDistanceSquared |
| SBQuantity::inverseLength * | inverseCutoffDistance |
| SBBuffer< SBVector< SBAtom * > * > * | neighborVectorBuffer The buffer containing the neighbor lists associated to each atom. |
| SBPointer< SBParticleSystem > * | particleSystem The particle system the neighbor search algorithm is attached to. |
Protected Attributes inherited from SBCReferenceTarget#
| Type | Name |
|---|---|
| SBCReferenceTargetData * | dataPointer |
Protected Functions#
| Type | Name |
|---|---|
| SBSNeighborSearchParticleSystemPBC (SBParticleSystem * p, const SBQuantity::length & cutoffDistance) |
Protected Functions inherited from SBSNeighborSearch#
| Type | Name |
|---|---|
| SBSNeighborSearch () |
Protected Functions inherited from SBCReferenceTarget#
| Type | Name |
|---|---|
| SBCReferenceTarget (SBCReferenceTargetData * dataPointer) |
|
| void | removeAllReferenceOwners () |
Detailed Description#
This class is the base class of neighbor search algorithms that can be applied to particle systems with periodic boundary conditions.
Short name: SBNeighborSearchParticleSystemPBC
Public Functions Documentation#
function getNeighborVector#
function getNeighbors [1/2]#
Appends to neighborVector all atoms that are at a distance smaller than or equal toradius from the specifiedposition .
virtual void SBSNeighborSearchParticleSystemPBC::getNeighbors (
SBVector< SBAtom * > & neighborVector,
const SBPosition3 & position,
const SBQuantity::length & radius
) const
function getNeighbors [2/2]#
Appends to neighborVector all atoms inside thebox .
virtual void SBSNeighborSearchParticleSystemPBC::getNeighbors (
SBVector< SBAtom * > & neighborVector,
const SBIAPosition3 & box
) const
function initializeNeighborLists#
function onDynamicalEvent#
function print#
Prints debugging information.
Implements SBSNeighborSearch::print
function updateNeighborLists#
function ~SBSNeighborSearchParticleSystemPBC#
Protected Attributes Documentation#
variable boxPBC#
variable boxSizeX#
variable boxSizeY#
variable boxSizeZ#
variable cutoffDistanceSquared#
variable inverseCutoffDistance#
variable neighborVectorBuffer#
The buffer containing the neighbor lists associated to each atom.
variable particleSystem#
The particle system the neighbor search algorithm is attached to.
Protected Functions Documentation#
function SBSNeighborSearchParticleSystemPBC#
SBSNeighborSearchParticleSystemPBC::SBSNeighborSearchParticleSystemPBC (
SBParticleSystem * p,
const SBQuantity::length & cutoffDistance
)