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

Class RotSphereVi

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

EXPERIMENTAL Rotational sphere using Verlet 2nd order time integration.

Instance Methods [hide private]
 
__init__(...)
Construct a rotational spherical particle.
 
__reduce__(...)
helper for pickle
 
getAcceleration(...)
Returns the current translational acceleration of the particle
 
getAngularAcceleration(...)
Returns the current angular acceleration of the particle
 
getAngularVelocity(...)
Returns the angular velocity of the particle at time t - 0.5*dt
 
getAngularVelocityT(...)
Returns the angular velocity of the particle at time t
 
getCenter(...)
Returns the current position of the particle
 
getCentre(...)
Returns the current position of the particle
 
getId(...)
Returns the unique ID of the particle
 
getInitialPosition(...)
Returns the initial position of the particle
 
getInitialPosn(...)
Returns the initial position of the particle
 
getLinearAcceleration(...)
Returns the current translational acceleration of the particle
 
getLinearVelocity(...)
Returns the current translational velocity of the particle
 
getMass(...)
Returns the mass of the particle
 
getOrientation(...)
Returns the current orientation of the particle
 
getPosition(...)
Returns the current position of the particle
 
getPosn(...)
Returns the current position of the particle
 
getRad(...)
Returns the radius of the particle
 
getRadius(...)
Returns the radius of the particle
 
getTag(...)
Returns the non-unique tag of the particle
 
getVelocity(...)
Returns the current translational velocity of the particle
 
setAngularAcceleration(...)
Specifies the angular acceleration of the particle
 
setAngularVelocity(...)
Specifies the angular velocity of the particle at time t - 0.5*dt
 
setAngularVelocityT(...)
Specifies the angular velocity of the particle at time t
 
setLinearAcceleration(...)
Specifies the translational acceleration of the particle
 
setLinearVelocity(...)
Specifies the current translational velocity of the particle
 
setOrientation(...)
Specifies the orientation of the particle
 
setPosition(...)
Specifies the position of the particle
 
setPosn(...)
Specifies the position of the particle
 
setTag(...)
Specifies the tag of the particle

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)