EUROPEAN ORGANIZATION FOR NUCLEAR RESEARCH

SODD

This command will execute the Second Order Detuning and Distortion as described in the paper of J. Bengtsson and J. Irwin "Analytical Calculation of Smear and Tune Shift " (SSC-232, February 1990), on the beam line defined by the last USE command followed by a TWISS command. It is based on the stand-alone program written by Frank Schmidt in November 1998 - January 1999 who also extended the analytical computation to the second order distortion (cfr. Beam Physics Note 60 F. Schmidt "SODD: A physics Guide"). It consists of three parts:

  • Subroutine detune (launched by the attribute detune)

    It calculates the detuning function terms in first and second order in the strength of the multipoles. If the attribute print_at_end has been set, the following two files (and the corresponding madx tables) are created :

    detune_1_end containing five columns :

    detune_2_end containing five columns :

    If the attribute print_all has been set, the following two files (and the corresponding madx tables) are created :

    detune_1_all containing five columns :

    detune_2_all containing five columns :

  • Subroutine distort1 (launched by the attribute distort1)

    It calculates the distortion function and the Hamiltonian terms in first order in the strength of the multipoles. If the attribute print_at_end has been set, the two files (and the corresponding madx tables) are created :

    distort_1_F_end containing eight columns :

    distort_1_H_end containing eight columns : If the attribute print_all has been set, the following two files (and the corresponding madx tables) are created :

    distort_1_F_all containing eleven columns :

    distort_1_H_all containing eleven columns :

  • Subroutine distort2 (launched by the attribute distort2)

    It calculates the distortion function and Hamiltonian terms in second order in the strength of the multipoles. If the attribute print_at_end has been set, the following two files (and the corresponding madx tables) are created :

    distort_2_F_end containing nine columns :

    distort_2_H_end containing nine columns :

    N. B. The first row of every file is a header containing the names of the columns. This row is absent in the internal tables.

  • SODD

    sodd,
    detune=logical,
    distort1=logical,
    distort2=logical,
    start_stop = start,stop
    multipole_order_range = fist,last
    noprint = logical
    print_all = logical
    print_at_end = logical
    nosixtrack  = logical
    
    where the parameters have the following meaning:
  • A more detailed description can be found in
    AB-note-2004-069
    damico, September 10, 2004