ELEMENT DEFINITION: SHIFTCOO

This is a thin element. It makes a shift of the coordinates according to

x = x + Delta x
x' = x' + Delta x'
y = y + Delta y
y' = y' + Delta y'

The definition of this element is

Element name, 1st number, 2nd number 3rd number, 4th number
SHIFTCOO, Delta x [m], Delta x' [1] Delta y [m], Delta y' [1]

The data of this element are stored in the matrix alat(n,m). The first index in alat identifies the lattice element as found in the sequence of elements loaded from the lattice file. The number of elements is NELMAX. In the variable alength is stored the lattice length.

alat(n,1) = //
alat(n,2) = 13 ( number coding the type of element) ;
alat(n,3) = longitudinal coordinate at the enter face of the n-th lattice element;
alat(n,4) = longitudinal coordinate at the exit face of the n-th lattice element;
alat(n,5) = Delta x [m];
alat(n,6) = Delta x' [1];
alat(n,7) = Delta y [m];
alat(n,8) = //
alat(n,9) = Delta y' [1];
alat(n,10) = //
alat(n,11) = length of the n-th element [m]
alat(n,12) = //
alat(n,13) = //