Changeset 32 in TRACY3 for trunk/tracy/tracy/inc/tracy_global.h
- Timestamp:
- Apr 9, 2014, 3:50:11 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tracy/tracy/inc/tracy_global.h
r11 r32 3 3 4 4 typedef struct globvalrec { 5 double dPcommon, // dp for numerical differentiation 5 double dPcommon, // dp for numerical differentiation; defined in lattice 6 6 dPparticle; // energy deviation 7 7 double delta_RF; // RF acceptance … … 9 9 double Omega, 10 10 U0, // energy lost per turn in keV 11 Alphac; // alphap11 Alphac; // momentum compaction factor 12 12 Vector2 Chrom; // chromaticities 13 double Energy; // ring energy 14 long Cell_nLoc, // number of elements in a cell 13 double Energy; // ring energy; defined in lattice 14 long Cell_nLoc, // number of elements in a cell (For example, a lattice can have several same cells) 15 15 Elem_nFam, // number of families 16 16 CODimax; /* maximum number of cod search before 17 17 failing */ 18 double CODeps; // precision for closed orbit finder 18 double CODeps; // precision for closed orbit finder; defined in the lattice 19 19 Vector CODvect; // closed orbit; beam position at the first element of lattice 20 20 … … 35 35 Vi; // imaginal par of the eigenvectors 36 36 37 bool MatMeth, // matrix method 37 bool MatMeth, // matrix method or symplectic tracking? 38 38 Cavity_on, // if true, cavity turned on 39 39 radiation, // if true, radiation turned on 40 emittance, 41 quad_fringe, /* dipole- and quadrupole hard-edge 40 emittance, // calculate emittance? 41 quad_fringe, /* dipole- and quadrupole hard-edge? 42 42 fringe fields. */ 43 H_exact, // "small ring" Hamiltonian.43 H_exact, // "small ring" or approximation Hamiltonian? 44 44 pathlength, // absolute path length 45 45 stable, … … 105 105 mpolArray PBrnd; // random scale factor of rms error PBrms gradient, bn and an 106 106 mpolArray PB; // total field strength(design,sys,rms) gradient, bn and an 107 //basic parameters 107 108 int Porder; // The highest order in PB 108 109 int n_design; // multipole order (design, All = 0, Dip = 1, Quad = 2, Sext = 3, Oct = 4, Dec = 5, Dodec = 6) 109 110 pthicktype Pthick; // thick element 110 // Bending Angles111 // dipole type 111 112 double PTx1; // horizontal entrance angle [deg] 112 113 double PTx2; // horizontal exit angle [deg] 113 114 double PH1; // bending curvature of the entrance pole face of dipole, see P116 SAC-75. 114 115 double PH2; // bending curvature of the exit pole face of dipole, see P116 SAC-75. 115 double Pgap; // total magnetgap [m]116 double Pirho; // angle([radian], but in lattice definition, angle is with unit degree)/length of the dipole,1/rho [1/m]116 double Pgap; // total dipole gap [m] 117 double Pirho; // curvature of the dipoles. 1/rho [1/m] 117 118 double Pc0, Pc1, Ps1; // corrections for roll error of bend 118 119 Matrix AU55, // Upstream 5x5 matrix … … 285 286 maxampl[X_][0] < x < maxampl[X_][1] 286 287 maxampl[Y_][0] < y < maxampl[Y_][1] */ 287 }; 288 289 Vector CODvect; //orbit at the end of the lattice element Added by Jianfeng Zhang @ LAL, 01/04/2014. 290 };
Note: See TracChangeset
for help on using the changeset viewer.