+++++++++++++++++++++++++++++++++++++++++++ + MAD-X 5.00.19 (32 bit, Darwin) + + DEBUG Version - use at own risk! + + Code Modification Date: 2012.12.11 + + Execution Time Stamp: 21.12.12 12.47.36 + +++++++++++++++++++++++++++++++++++++++++++ beam, SEQUENCE=Machine ,PARTICLE=electron, energy=3, RADIATE=True; option, RBARC=FALSE; OPTION, -ECHO, -WARN, INFO; ! Put the RF cavity RFC: RFCAVITY, L=0.5, VOLT=3.6, LAG=0.480,HARMON=448; ++++++ info: element redefined: rfc L_IDRF : DRIFT, L=L_ID->L-RFC->L; L_ID : LINE =(RFC, L_IDRF); use, period=Machine; twiss; enter Twiss module iteration: 1 error: 2.157269E-04 deltap: 0.000000E+00 orbit: -4.503830E-09 -1.532567E-07 -4.531875E-20 1.024785E-20 -2.166152E-03 3.053632E-08 iteration: 2 error: 9.223174E-07 deltap: 0.000000E+00 orbit: 7.784385E-10 -1.536909E-07 3.155655E-21 4.805067E-21 -2.156959E-03 3.297717E-10 ++++++ warning: TWCPGO: TWISS uses the RF system or synchrotron radiation only to find the closed orbit, for optical calculations it ignores both. ++++++ table: summ length orbit5 alfa gammatr 67.200074 0.002156959034 0.0008829339349 33.65393841 q1 dq1 betxmax dxmax 4.544746479 0.3280484114 17.73701544 0.2344520764 dxrms xcomax xcorms q2 0.1455152745 1.388447704e-05 5.588626605e-06 2.093002374 dq2 betymax dymax dyrms 0.1526852467 19.36580271 6.001346353e-16 2.910804849e-16 ycomax ycorms deltap synch_1 6.116484392e-20 3.231778878e-20 0 0 synch_2 synch_3 synch_4 synch_5 0 0 0 0 EMIT,DELTAP=0.0 ; enter EMIT module Global parameters for electrons, radiate = T: C 67.200074 m f0 4.461192314 MHz T0 0.2241553221 musecs alfa 0.0008829339203 eta 0.000882904907 gamma(tr) 33.65393868 Bcurrent 0 A/bunch Kbunch 1 Npart 0 /bunch Energy 3 GeV gamma 5870.85401 beta 0.9999999855 guess: 0 0 0 U0 0.254203 [MeV/turn] M o d e 1 M o d e 2 M o d e 3 Fractional tunes undamped 0.54473120 0.09300237 0.01229083 damped 0.54473120 0.09300237 0.01229083 beta* [m] x 0.11192592E+02 0.62043574E-29 0.19146962E-02 y 0.15681683E-30 0.59288108E+01 0.22923073E-31 t 0.27866856E-01 0.11371420E-29 0.76902873E+00 gamma* [1/m] px 0.89342400E-01 0.57246285E-31 0.96685603E-07 py 0.38838870E-31 0.16866790E+00 0.16821071E-30 pt 0.67029611E-08 0.28308576E-31 0.13003062E+01 beta(max) [m] x 0.17732389E+02 0.25921094E-28 0.63317975E-02 y 0.16280848E-29 0.19365803E+02 0.25919676E-31 t 0.71609725E-01 0.62582317E-29 0.76902874E+00 gamma(max) [1/m] px 0.58774952E+01 0.58507118E-29 0.49283519E-05 py 0.57841879E-30 0.41245502E+01 0.17433678E-30 pt 0.26021594E-01 0.13443087E-29 0.13022468E+01 Damping partition numbers 1.49532944 0.99999809 1.50467011 Damping constants [1/s] 0.28262940E+03 0.18900775E+03 0.28439486E+03 Damping times [s] 0.35382023E-02 0.52907882E-02 0.35162379E-02 Emittances [pi micro m] 0.11259324E-02 0.32842629E-31 0.95690432E+00 RF system: Cavity length[m] voltage[MV] lag freq[MHz] harmon rfc 0.5 3.6 0.48 1998.614157 448 !The result of H emittance computed this way is: 0.11212603E-02 [pi micro m] !But it is wrong due to the fact that the variations of the twiss functions inside !the bendings are not taken into account. To solve this the best thing to do !is to slice the sbends in thick slices as follows: B1in: SBEND, L=B1->L/28, ANGLE=B1->ANGLE/28, K1=B1->K1, E1=B1->ANGLE/2, E2=0.0; B1i: SBEND, L=B1->L/28, ANGLE=B1->ANGLE/28, K1=B1->K1, E1=0.0, E2=0.0; B1out: SBEND, L=B1->L/28, ANGLE=B1->ANGLE/28, K1=B1->K1, E1=0.0 , E2=B1->ANGLE/2; BE: LINE=(B1in,B1i,B1i,B1i,B1i,B1i,B1i,B1i,& B1i, B1i,B1i,B1i,B1i,B1i,B1i,B1i,& B1i,B1i,B1i,B1i,B1i,B1i,B1i,B1i, & B1i,B1i,B1i,B1out); ++++++ warning: macro redefined: be use, period=Machine; twiss; enter Twiss module iteration: 1 error: 2.157269E-04 deltap: 0.000000E+00 orbit: -4.503830E-09 -1.532567E-07 -4.531875E-20 1.024785E-20 -2.166152E-03 3.053632E-08 iteration: 2 error: 9.223174E-07 deltap: 0.000000E+00 orbit: 7.784385E-10 -1.536909E-07 3.155655E-21 4.805067E-21 -2.156959E-03 3.297717E-10 ++++++ warning: TWCPGO: TWISS uses the RF system or synchrotron radiation only to find the closed orbit, for optical calculations it ignores both. ++++++ table: summ length orbit5 alfa gammatr 67.200074 0.002156959034 0.0008829339349 33.65393841 q1 dq1 betxmax dxmax 4.544746479 0.3280484114 17.73701544 0.2344520764 dxrms xcomax xcorms q2 0.1455152745 1.388447704e-05 5.588626605e-06 2.093002374 dq2 betymax dymax dyrms 0.1526852467 19.36580271 6.001346353e-16 2.910804849e-16 ycomax ycorms deltap synch_1 6.116484392e-20 3.231778878e-20 0 0 synch_2 synch_3 synch_4 synch_5 0 0 0 0 EMIT,DELTAP=0.0 ; enter EMIT module Global parameters for electrons, radiate = T: C 67.200074 m f0 4.461192314 MHz T0 0.2241553221 musecs alfa 0.0008829339203 eta 0.000882904907 gamma(tr) 33.65393868 Bcurrent 0 A/bunch Kbunch 1 Npart 0 /bunch Energy 3 GeV gamma 5870.85401 beta 0.9999999855 guess: 0 0 0 U0 0.254203 [MeV/turn] M o d e 1 M o d e 2 M o d e 3 Fractional tunes undamped 0.54473120 0.09300237 0.01229083 damped 0.54473120 0.09300237 0.01229083 beta* [m] x 0.11192592E+02 0.62043574E-29 0.19146962E-02 y 0.15681683E-30 0.59288108E+01 0.22923073E-31 t 0.27866856E-01 0.11371420E-29 0.76902873E+00 gamma* [1/m] px 0.89342400E-01 0.57246285E-31 0.96685603E-07 py 0.38838870E-31 0.16866790E+00 0.16821071E-30 pt 0.67029611E-08 0.28308576E-31 0.13003062E+01 beta(max) [m] x 0.17732389E+02 0.25921094E-28 0.63317975E-02 y 0.16280848E-29 0.19365803E+02 0.25919676E-31 t 0.71609725E-01 0.62582317E-29 0.76902874E+00 gamma(max) [1/m] px 0.58774952E+01 0.58507118E-29 0.49283519E-05 py 0.57841879E-30 0.41245502E+01 0.17433678E-30 pt 0.26021594E-01 0.13443087E-29 0.13022468E+01 Damping partition numbers 1.49532944 0.99999809 1.50467011 Damping constants [1/s] 0.28262940E+03 0.18900775E+03 0.28439486E+03 Damping times [s] 0.35382023E-02 0.52907882E-02 0.35162379E-02 Emittances [pi micro m] 0.11259324E-02 0.32842629E-31 0.95690432E+00 RF system: Cavity length[m] voltage[MV] lag freq[MHz] harmon rfc 0.5 3.6 0.48 1998.614157 448 ! !Now the emittance is correct: 0.44845315E-02 ! SELECT, FLAG=TWISS, CLEAR; SELECT, FLAG=TWISS, CLASS=QUADRUPOLE, COLUMN=NAME,S,BETX,BETY; USE, SEQUENCE=Machine; TWISS, SEQUENCE=Machine, FILE="twiss1"; enter Twiss module iteration: 1 error: 2.157269E-04 deltap: 0.000000E+00 orbit: -4.503830E-09 -1.532567E-07 -4.531875E-20 1.024785E-20 -2.166152E-03 3.053632E-08 iteration: 2 error: 9.223174E-07 deltap: 0.000000E+00 orbit: 7.784385E-10 -1.536909E-07 3.155655E-21 4.805067E-21 -2.156959E-03 3.297717E-10 ++++++ warning: TWCPGO: TWISS uses the RF system or synchrotron radiation only to find the closed orbit, for optical calculations it ignores both. ++++++ table: summ length orbit5 alfa gammatr 67.200074 0.002156959034 0.0008829339349 33.65393841 q1 dq1 betxmax dxmax 4.544746479 0.3280484114 17.73701544 0.2344520764 dxrms xcomax xcorms q2 0.1455152745 1.388447704e-05 5.588626605e-06 2.093002374 dq2 betymax dymax dyrms 0.1526852467 19.36580271 6.001346353e-16 2.910804849e-16 ycomax ycorms deltap synch_1 6.116484392e-20 3.231778878e-20 0 0 synch_2 synch_3 synch_4 synch_5 0 0 0 0 stop; Number of warnings: 4 1 in C and 3 in Fortran ++++++++++++++++++++++++++++++++++++++++++++ + MAD-X 5.00.19 (32 bit) finished normally + ++++++++++++++++++++++++++++++++++++++++++++