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

Class RotSphereVi

 object --+    
          |    
??.instance --+
              |
             RotSphereVi

EXPERIMENTAL. Rotational sphere, verlet 2nd order integration.

Instance Methods [hide private]
 
__init__(...)
Construct a rotational spherical particle.
 
__reduce__(...)
helper for pickle
 
getAngularAcceleration(...)
 
getAngularVelocity(...)
 
getAngularVelocityT(...)
 
getCenter(...)
 
getCentre(...)
 
getId(...)
 
getInitialPosn(...)
 
getLinearAcceleration(...)
 
getLinearVelocity(...)
 
getMass(...)
 
getOrientation(...)
 
getPosn(...)
 
getRad(...)
 
getRadius(...)
 
getTag(...)
 
setAngularAcceleration(...)
 
setAngularVelocity(...)
 
setAngularVelocityT(...)
 
setLinearAcceleration(...)
 
setLinearVelocity(...)
 
setOrientation(...)
 
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__ = 456
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)