===ELFIN input data========================================================== Num_of_Grid Num_of_Particle 128 16000 ===== Number_of_Repetition ================================================== ELFIN repeats the section between BEGIN...END in Configuration defined below 1 -----Configuration of System ------------------------------------------------ (element names are within 6 characters) 'AINI ESRC FEL TERM' ==== Element Parameter ekind=[FEL,ESOURC,AINIT,MIRROR,AFREE,OUTPUT,TERM]===== Name Kind_of_Element 'FEL' 'FEL' ----------------------------------------------------------------------------- Width_of_Calculation_Area(SquareArea) 3.200000e-03 ----------------------------------------------------------------------------- Num_of_Sampling_Points Num_of_Step_along_Z 18 36 -----------WIGGLER PARAMETERS------------------------------------------------ Length aw0(r.m.s.) Period hx2 hy2 Kind[OPTIC,STATIC] 27.0000 (4.0600,0) 0.1140 3.0377+03 3.0377e+03 'STATIC' ----------------------------------------------------------------------------- wignum wigpar(1) wigpar(2) wigpar(3) wigpar(4)(reserved parameter for wig.) 1 0. 0. 0. 0. -----------SPATIAL FILTERING (width and # of spline on it )------------------ Filter_Width(If you don't want, this >> width ) Num_of_Splining 3.200000e-03 1 ---OUTPUT CONTROL PARAMETERS ------------------------------------------------ Laser_Histogram(x y) _Print(x y) Particle_Histogram(x y) _Print(x y) 1 1 1 1 1 1 1 1 ============================================================================= Name Kind_of_Element 'ESRC' 'ESOURC' ----------------------------------------------------------------------------- Peak_Current(A) 2.7000e+02 ----------------------------------------------------------------------------- Gamma Gamma_Spread(r.m.s. for Gaussian) Distribution_Type(Gaussian=0) 2.0000e+03 1.1578e+00 0.0 ----------------------------------------------------------------------------- X X_Spread Beta_x Beta_x_Spread Distance_To_Waist 0.0000e+00 2.7600e-04 0.0000e+00 3.0800e-05 0.0000 ---Same parameters as x direction above-------------------------------------- last parameter in the next line is 4-Dimensional_Distribution_Type(x,bx,y,by) 0.0000e+00 2.7600e-04 0.0000e+00 3.0800e-05 0.0000 0.0 ----------------------------------------------------------------------------- Num_of_Longitudinal_Points 4 --- seed for random number generator ---------------------------------------- Random_Seed Update_Seed_or_not_for_each_time_This_module_called 5 0 --- ignore this ------------------------------------------------------------- redfct 0.0 ============================================================================= Name Kind_of_Element 'AINI' 'AINIT' ----------------------------------------------------------------------------- Width 3.200000e-03 ----------------------------------------------------------------------------- Laser_Wave_Length Input_Power Waist_Size(1/e) Distance_To_Waist 2.5000e-07 1.0000e+01 6.0000e-04 4.5000 ============================================================================= Name Kind_of_Element 'TERM' 'TERM' ============================================================================= Name Kind_of_Element 'DEBUG' 'DEBUG' ============================================================================= 2) Small Signal Gain Below is the input file for the case C in Table 1 in J.E. LaSALA, D.A.G. DEACON and E.T. SCHARLEMANN, "OPTICAL GUIDING SIMULATIONS FOR HIGH GAIN-SHORT WAVE LENGTH FELs," Nucl. Instr. and Meth. A250(1986)389.