Module gengeo :: Class CircMNTable2D
[hide private]
[frames] | no frames]

Class CircMNTable2D

 object --+        
          |        
??.instance --+    
              |    
      MNTable2D --+
                  |
                 CircMNTable2D
Known Subclasses:

A multi-group neighbours table for constructing 2D particle setups with circular boundary conditions in the X-direction.

Instance Methods [hide private]
 
__init__(...)
Constructs a neighbours table with specified bounds, cell size and initial number of particle groups.
 
__str__(...)
str(x)
void
generateBonds(...)
Generates bonds between particle pairs separated by less than the specified tolerance

Inherited from MNTable2D: GrowNGroups, __reduce__, breakBondsAlongLineSegment, generateBondsTaggedMasked, generateBondsWithMask, generateClusterBonds, generateRandomBonds, getBondList, getNumParticles, getSphereListFromGroup, getSumVolume, insert, insertBond, removeTaggedParticles, setOutputPrecision, tagClosestParticle, tagParticlesAlongLine, tagParticlesAlongLineSegment, tagParticlesAlongLineWithMask, tagParticlesInVolume, tagParticlesNear, tagParticlesToClosest, write

Inherited from unreachable.instance: __new__

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

Class Variables [hide private]
  __instance_size__ = 152
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

Constructs a neighbours table with specified bounds, cell size and initial number of particle groups.

Parameters:
  • minPoint (Vector3) - lower-left point of the particle region
  • maxPoint (Vector3) - upper-right point of the particle region
  • gridSize (double) - the cell size for neighbour searches
  • numGroups (unsigned int) - the initial number of groups (default: 1)
Overrides: object.__init__

__str__(...)
(Informal representation operator)

 

str(x)

Overrides: object.__str__
(inherited documentation)

generateBonds(...)

 

Generates bonds between particle pairs separated by less than the specified tolerance

Parameters:
  • groupID (int) - the group ID of particles to bond together (default: 0)
  • tolerance (double) - maximum distance separating bonded particles
  • bondID (int) - the bond ID to assign generated bonds
Returns: void
Overrides: MNTable2D.generateBonds