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

Class CircMNTableXY2D

 object --+            
          |            
??.instance --+        
              |        
      MNTable2D --+    
                  |    
      CircMNTable2D --+
                      |
     object --+       |
              |       |
    ??.instance --+   |
                  |   |
          MNTable2D --+
                      |
                     CircMNTableXY2D

A multi-group neighbours table for constructing 2D particle setups with circular boundary conditions in both (X and Y) directions. This is largely for packing algorithm testing

Instance Methods [hide private]
 
__init__(...)
Constructs a neighbours table with specified bounds, cell size and initial number of particle groups.
 
__str__(...)
str(x)

Inherited from CircMNTable2D: generateBonds

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__ = 176
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)