next up previous contents index
Next: Element Selection Up: Tables Previous: Tables   Contents   Index


Introduction

A typical computation in MAD Version 9 follows these steps:

  1. Define a beam line using a LINE or SEQUENCE command.
  2. Define a beam with using BEAM command.
  3. If desired, define imperfections on the defined beam line, using one of the error commands.
  4. If desired, attach special integrators to selected elements of the defined beam line, using SETINTEGRATOR commands.
  5. If desired, perform an orbit correction on the defined beam line, using THREADBPM or MICADO command.
  6. Define a ``Table Object'' using one of the table commands. This selects a RANGE of a beam line, and defines an algorithm to fill the table, e. g. with the lattice functions, the accumulated transfer map from the beginning of the range to the current position, or the SURVEY data. A table remains in memory and is recomputed as required. It is erased only if one of the contained elements or beam lines is changed.
  7. If desired, apply the match module to adjust parameters in the machine. The match module can work on any number of tables simultaneously.
  8. Use a LIST command to print the contents of any table.

Figure 7.1: Schematic view of the Interaction between Objects in MAD
\begin{figure}
\begin{center}
\begin{picture}(400,400)
\thinlines \put(90,370...
...(320,85){\framebox (80,30){LIST Command}}
\end{picture} \end{center}\end{figure}


next up previous contents index
Next: Element Selection Up: Tables Previous: Tables   Contents   Index
MAD User Guide, http://wwwslap.cern.ch/mad/