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

Class ExpSourcePrms

SourcePrms --+
             |
            ExpSourcePrms

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.20,0.25,0.00), b=(0.50,0.50,0.50), t0=(5.00,4.00,6.00))
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.20,0.25,0.00), b=(0.50,0.50,0.50), t0=(5.00,4.00,6.00))
(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)