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

Class CubicBlock

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

Collection of particles arranged in a cubic close (face centred cubic) packing.

Instance Methods [hide private]
 
__init__(...)
Creates a collection of dimCount[0]*dimCount[2]*dimCount[2] spheres arranged in a cubic close 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 cubic close packing.

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