next up previous
Next: Modification of element data Up: Use and description of Previous: Machine and beam parameters

Matrix computation

Computes matrices and performs movement analysis on matrix obtained at end of lattice.

Input Format 

MATRix computations...........(up to 80 char)
norder mprint [list]
Parameter definitions

norder

1 $\textstyle \parbox{10cm}{first order matrix only is printed.}$

2 $\textstyle \parbox{10cm}{second order terms are also printed.}$

$<0$ $\textstyle \parbox{14cm}{computation is done to order
abs(norder). mprint must...
...ll the matrices of
the beamline in a standard output format (added Dec 1998)}$

mprint

-2 $\textstyle \parbox{10cm}{ no printing of matrix.}$

-1 $\textstyle \parbox{10cm}{ print matrix at end of
machine only.}$

0 $\textstyle \parbox{10cm}{ print matrices at
all intermediary
points and at final point}$

n $\textstyle \parbox{10cm}{ where n$>0$, used with
list and indicates the number of
intervals in which printing is to occur.}$

list $\textstyle \parbox{10cm}{
set of pairs of numbers which indicate the beginning...
...ntervals in which printing
takes place. List may contain up to mxlist numbers}$



Examples

All three examples come from demo1.

maTRIX COMPUTATION AT END OF CELL: FIRST ORDER COMPUTATION
2 1 4 4,

matrix in input format
-2 1 1 4,

MATRIX COMPUTATION AFTER FIT : SECOND ORDER COMPUTATION.
2 -1;



Dobrin Kaltchev 2004-10-20