Package esys :: Package lsm :: Package sim :: Module WavePropagation :: Class ExpSourcePrms
[hide private]
[frames] | no frames]

Class ExpSourcePrms

SourcePrms --+
             |
            ExpSourcePrms
Known Subclasses:

Describes (time, position) trajectory information for a source particle.

Instance Methods [hide private]
 
__init__(self, posn=Vec3(0.0,0.0,0.0), a=(0.2, 0.25, 0.0), b=(0.5, 0.5, 0.5), t0=(5.0, 4.0, 6.0))
Constructs and exponential (Gaussian in time) source.
 
getPosn(self, t)
Returns relative position of source disturbance for time t.

Inherited from SourcePrms: getInitialPosn

Method Details [hide private]

__init__(self, posn=Vec3(0.0,0.0,0.0), a=(0.2, 0.25, 0.0), b=(0.5, 0.5, 0.5), t0=(5.0, 4.0, 6.0))
(Constructor)

 

Constructs and exponential (Gaussian in time) source.

Parameters:
  • posn (Vec3) - coordinate location of the source.
  • a (list/tuple) - sequence of 3 elements defining the magnitude/amplitude of the (x,y,z) components.
  • b (list/{tuple}) - sequence of 3 elements defining the period of the (x,y,z) components.
  • t0 (float) - sequence of 3 elements defining the time at which the maximum amplitude is achieved for each (x,y,z) component.
Overrides: SourcePrms.__init__

getPosn(self, t)

 

Returns relative position of source disturbance for time t.

Parameters:
  • t - time.
Overrides: SourcePrms.getPosn
(inherited documentation)