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

Class RotSphere

 object --+    
          |    
??.instance --+
              |
             RotSphere

Instance Methods [hide private]
 
__init__(...)
Construct a rotational spherical particle.
 
__reduce__(...)
helper for pickle
 
getAcceleration(...)
 
getAngularAcceleration(...)
 
getAngularVelocity(...)
 
getCenter(...)
 
getCentre(...)
 
getId(...)
 
getInitialPosition(...)
 
getInitialPosn(...)
 
getLinearAcceleration(...)
 
getLinearVelocity(...)
 
getMass(...)
 
getOrientation(...)
 
getPosition(...)
 
getPosn(...)
 
getRad(...)
 
getRadius(...)
 
getTag(...)
 
getVelocity(...)
 
setAngularAcceleration(...)
 
setAngularVelocity(...)
 
setLinearAcceleration(...)
 
setLinearVelocity(...)
 
setOrientation(...)
 
setPosition(...)
 
setPosn(...)
 
setTag(...)

Inherited from unreachable.instance: __new__

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

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

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

Construct a rotational spherical particle.

Parameters:
  • id (int) - Unique identifier for particle.
  • posn (Vec3) - Initial position of particle, centre-point of sphere.
  • radius (float) - The radius of the sphere.
  • mass (float) - Mass of particle.
Overrides: object.__init__

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)