Package esys :: Package lsm :: Module LsmPy :: Class BondInteractionGroup
[hide private]
[frames] | no frames]

Class BondInteractionGroup

  object --+        
           |        
 ??.instance --+    
               |    
InteractionGroup --+
                   |
                  BondInteractionGroup

Base class for bonded interaction groups.

Instance Methods [hide private]
 
createInteraction(...)
Creates a bond between particles with specified ID's.
 
createInteractions(...)
Creates bonds between particles with specified ID's.
ParticleIdPairSet
getIdPairSet(...)
Returns pairs of particle-id's indicating pair-wise bonds.

Inherited from InteractionGroup: __init__, __reduce__, getName

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

createInteraction(...)

 

Creates a bond between particles with specified ID's.

Parameters:
  • id1 (int) - Particle ID.
  • id2 (int) - Particle ID.

createInteractions(...)

 

Creates bonds between particles with specified ID's.

Parameters:
  • idPairIterable (iterable) - Supports iter(idPairIterable) and each element in an iteration is a particle id pair.

getIdPairSet(...)

 

Returns pairs of particle-id's indicating pair-wise bonds.

Returns: ParticleIdPairSet
Set of ParticleIdPair objects.