SBNeighborSearchParticleSystemGridPBC#

class samson.SBNeighborSearchParticleSystemGridPBC(self: samson.SBNeighborSearchParticleSystemGridPBC, particleSystem: samson.SBParticleSystem, cutoffDistance: samson.SBQuantity.unitsSI)#

Bases: SBNeighborSearchParticleSystemPBC

Grid-based neighbor-search algorithm for particle systems with periodic boundary conditions.

This variant accounts for periodic images during neighbor-list maintenance and query operations.

Constructs a periodic grid neighbor-search object.

Parameters:
  • particleSystem (samson.SBParticleSystem) – Particle system with periodic boundary conditions.

  • cutoffDistance (samson.SBQuantity) – Neighbor cutoff radius.