Package esys :: Package lsm :: Package examples :: Module Wave2d :: Class MyLinearSineSourcePrms
[hide private]
[frames] | no frames]

Class MyLinearSineSourcePrms

sim.WavePropagation.SourcePrms --+
                                 |
                                MyLinearSineSourcePrms

Instance Methods [hide private]
 
__init__(self, posn, startTime=0.5, freq=0.02, magnitude=[0, 0.1, 0])
 
getPosn(self, t)
Returns relative position of source disturbance for time t.

Inherited from sim.WavePropagation.SourcePrms: getInitialPosn

Method Details [hide private]

__init__(self, posn, startTime=0.5, freq=0.02, magnitude=[0, 0.1, 0])
(Constructor)

 
Parameters:
  • posn - The desired location for the source disturbance.
Overrides: sim.WavePropagation.SourcePrms.__init__
(inherited documentation)

getPosn(self, t)

 

Returns relative position of source disturbance for time t.

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