Test2d24, User-supplied oscillating field

-sinusoidal motion of an electron in a sinusoidal electric field.

See also:

Test2d08 -time-dependent oscillating potentials

Xmpl2d45 -rectangular waveform for oscillating voltages.

This is identical to test2d08.dat, except that the sinusoidal voltage is calculated by the 'User-supplied' routine time2d.cpp, which is connected to the CPO2D program as the 'dynamic-linked library' time2d.dll.

The User-supplied routine calls data from the file time2d.dat, which is:


1 0 0

0. -30. 1.E-6 0.

0. 0. 1.E-6 0.

= N = number of simultaneous time dependences (here 1)

3 numbers, giving type of time dependences (here 1 sine and 2 dummies)

N lines, giving parameters of voltage number 1 (v1,v2,tau,phi for sine)

N lines, giving parameters of voltage number 2 (v1,v2,tau,phi for sine)



Note that the initial time is read from the present data file, not from time2d.dat.

Please see the footnotes of test2d24 for further details.