Package esys :: Package lsm :: Package geometry :: Module GeometryPy :: Class SimpleBlock
[hide private]
[frames] | no frames]

Class SimpleBlock

        object --+        
                 |        
       ??.instance --+    
                     |    
SimpleSphereCollection --+
                         |
                        SimpleBlock

A regular packing of spheres.

Instance Methods [hide private]
 
__init__(...)
Creates a collection of dimCount[0]*dimCount[2]*dimCount[2] spheres arranged in a regular rectangular lattice packing.

Inherited from SimpleSphereCollection: __getstate__, __iter__, __len__, __reduce__, __setstate__, create, getBBox, getNumSpheres, rotate, translate

Inherited from unreachable.instance: __new__

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

Class Variables [hide private]

Inherited from SimpleSphereCollection: __getstate_manages_dict__, __instance_size__, __safe_for_unpickling__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

Creates a collection of dimCount[0]*dimCount[2]*dimCount[2] spheres arranged in a regular rectangular lattice packing.

Parameters:
  • dimCount (list of 3 elements) - number of particles in each packing dimension
  • radius (float) - Radius of spheres in the packing
Overrides: object.__init__