next up previous
Next: LTHINLENS Up: Element Dictionary Previous: LSCDRIFT

LSRMDLTR

A non-symplectic numerically integrated planar undulator including optional co-propagating laser beam for laser modulation of the electron beam.Tracks through a Taylor series map specified by a file containing coefficients.
Parameter Name Units Type Default Description
L $M$ double 0.0 length
BU $T$ double 0.0 Undulator peak field
PERIODS   long 0 Number of undulator periods.
METHOD $NULL$ STRING runge-kutta integration method (runge-kutta, bulirsch-stoer, modified-midpoint, two-pass modified-midpoint, leap-frog, non-adaptive runge-kutta)
FIELD_EXPANSION $NULL$ STRING ideal ideal, exact, or "leading terms"
ACCURACY $NULL$ double 0.0 Integration accuracy for adaptive integration. (Not recommended)
N_STEPS   long 0 Number of integration steps for non-adaptive integration.
POLE_FACTOR1   double 0.155717533964439 Strength factor for the first and last pole.
POLE_FACTOR2   double 0.380687615192693 Strength factor for the second and second-to-last pole.
POLE_FACTOR3   double 0.80282999969846 Strength factor for the third and third-to-last pole.
LASER_WAVELENGTH $M$ double 0.0 Laser wavelength. If zero, the wavelength is calculated from the resonance condition.
LASER_PEAK_POWER $W$ double 0.0 laser peak power
LASER_W0 $M$ double 1 laser spot size at waist
LASER_PHASE $RAD$ double 0.0 laser phase





This element simulates a planar undulator, together with an optional co-propagating laser beam that can be used as a beam heater or modulator. The simulation is done by numerical integration of the Lorentz equation. It is not symplectic, and hence this element is not recommended for long-term tracking simulation of undulators in storage rings.

The fields in the undulator can be expressed in one of three ways. The FIELD_EXPANSION parameter is used to control which method is used.

By default, if the laser wavelength is not given, it is computed from the resonance condition:

\begin{displaymath}
\lambda_l = \frac{\lambda_u}{2 \gamma^2} \left( 1 + \frac{1}{2} K^2 \right),
\end{displaymath} (8)

where $\gamma$ is the relativistic factor for the beam and $K$ is the undulator parameter.

The adaptive integrator doesn't work well for this element, probably due to sudden changes in field derivatives in the first and last three poles (a result of the implementation of the undulator terminations). Hence, the default integrator is non-adaptive Runge-Kutta. The integration accuracy is controlled via the N_STEPS parameter. N_STEPS should be about 100 times the number of undulator periods.

The expressions for the laser field used by this element were provided by P. Emma (SLAC).


next up previous
Next: LTHINLENS Up: Element Dictionary Previous: LSCDRIFT
Robert Soliday 2004-04-21