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

Class GravityPrms

 object --+        
          |        
??.instance --+    
              |    
InteractionPrms --+
                  |
                 GravityPrms

Parameters for describing gravitational body force.

Instance Methods [hide private]
 
__init__(...)
Gravitational like body force applied to all particles.
string
getName(...)
Returns: Name assigned to this group of interactions.

Inherited from InteractionPrms: __reduce__

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__ = 80
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

Gravitational like body force applied to all particles.

Parameters:
  • name (string) - name of this interaction.
  • acceleration (Vec3) - Acceleration vector (magnitude and direction).
Overrides: object.__init__

getName(...)

 
Returns: string
Name assigned to this group of interactions.