&NEWRUN Head='Cornell DC gun injector' Distribution='dist/28K.dist' RUN=2 Loop=F Lmagnetized=F EmitS=T PhaseS=F ! to turn off phase space dumps set T_PhaseS=F T_PhaseS=F TrackS=F RefS=T TcheckS=F CathodeS=F PHASE_SCAN=F AUTO_PHASE=F TRACK_ALL=T ZSTART=0 ZSTOP=8.56629 Zemit=800 Zphase=1 H_max=3E-3 H_min=0.3E-3 ! output step, change Step_width to output phase space more/less often Step_width=500 Step_max=100000 Lproject_emit=F Trms=0.011146 XYrms=0.294907 Qbunch=0.107743 / &SCAN LScan=F Scan_para='Phi(2)' S_min=0, S_max=360, S_numb=181 FOM(1)='mean energy' / &CHARGE LSPCH=T Lmirror=T ! use the following mesh for appropriate number of macroparticles Nrad=35, Nlong_in=75 !28K !Nrad=25, Nlong_in=53 !14K !Nrad=18, Nlong_in=38 !7K !Nrad=28, Nlong_in=13 !4K !Nrad=9, Nlong_in=20 !2K !Nrad=7, Nlong_in=14 !1K Cell_var=2.0 min_grid=0.4E-6 Max_scale=0.01 Max_count=100 / &Aperture / &FEM / &CAVITY LEFieLD=T FILE_EFieLD(1)='fields/dcgun.dat', C_smooth(1)=0 Nue(1)=0, MaxE(1)=-18.9398, Phi(1)=90, C_pos(1)=0 C_higher_order(1)=T FILE_EFieLD(2)='fields/buncher.dat', C_smooth(2)=0 Nue(2)=1.3, MaxE(2)=2.57122, Phi(2)=225.07, C_pos(2)=0.581703 C_higher_order(2)=T FILE_EFieLD(3)='fields/srf2cell.dat', C_smooth(3)=0 Nue(3)=1.3, MaxE(3)=10.5146, Phi(3)=18.0733, C_pos(3)=2.06629 C_higher_order(3)=T FILE_EFieLD(4)='fields/srf2cell_r.dat',C_smooth(4)=0 Nue(4)=1.3, MaxE(4)=22.2798, Phi(4)=44.6908, C_pos(4)=2.85294 C_higher_order(4)=T FILE_EFieLD(5)='fields/srf2cell.dat', C_smooth(5)=0 Nue(5)=1.3, MaxE(5)=22.2798, Phi(5)=319.1628, C_pos(5)=3.71517 C_higher_order(5)=T FILE_EFieLD(6)='fields/srf2cell_r.dat',C_smooth(6)=0 Nue(6)=1.3, MaxE(6)=22.2798, Phi(6)=339.1228, C_pos(6)=4.50182 C_higher_order(6)=T FILE_EFieLD(7)='fields/srf2cell.dat', C_smooth(7)=0 Nue(7)=1.3, MaxE(7)=22.2798, Phi(7)=260.1228, C_pos(7)=5.36404 C_higher_order(7)=T / &SOLENOID LBfield=T File_Bfield(1)='fields/solenoid.dat', S_smooth(1)=0 MaxB(1)=0.08202, S_pos(1)=0.25837 S_higher_order(1)=T File_Bfield(2)='fields/solenoid.dat', S_smooth(2)=0 MaxB(2)=0.046955, S_pos(2)=1.10275 S_higher_order(2)=T / &QUADRUPOLE Lquad=F /