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

Class NRotSphere

 object --+    
          |    
??.instance --+
              |
             NRotSphere

Instance Methods [hide private]
 
__init__(...)
Construct a rotational spherical particle.
 
__reduce__(...)
helper for pickle
 
getAcceleration(...)
 
getCenter(...)
 
getCentre(...)
 
getForce(...)
 
getId(...)
 
getInitialPosition(...)
 
getInitialPosn(...)
 
getLinearAcceleration(...)
 
getLinearForce(...)
 
getLinearVelocity(...)
 
getMass(...)
 
getPosition(...)
 
getPosn(...)
 
getRad(...)
 
getRadius(...)
 
getTag(...)
 
getVelocity(...)
 
setAcceleration(...)
 
setForce(...)
 
setLinearAcceleration(...)
 
setLinearForce(...)
 
setLinearVelocity(...)
 
setPosition(...)
 
setPosn(...)
 
setTag(...)
 
setVelocity(...)

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__ = 296
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.@type radius: float
  • radius - The radius of the sphere.
  • mass (float) - Mass of particle.
Overrides: object.__init__

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)