Skip to content
Snippets Groups Projects
Commit 4805af81 authored by zhang's avatar zhang
Browse files

Add comments

parent 968195dc
No related branches found
No related tags found
No related merge requests found
......@@ -103,13 +103,13 @@ struct MpoleType {
mpolArray PBrnd; // random scale factor of rms error PBrms
mpolArray PB; // total field strength(design,sys,rms)
int Porder; // The highest order in PB
int n_design; // multipole order (design)
int n_design; // multipole order (design, All = 0, Dip = 1, Quad = 2, Sext = 3, Oct = 4, Dec = 5, Dodec = 6)
pthicktype Pthick; // thick element
// Bending Angles
double PTx1; // horizontal entrance angle [deg]
double PTx2; // horizontal exit angle [deg]
double Pgap; // total magnet gap [m]
double Pirho; // angle/strength of the dipole, 1/rho [1/m]
double Pirho; // angle([radian], but in lattice definition, angle is with unit degree)/length of the dipole, 1/rho [1/m]
double Pc0, Pc1, Ps1; // corrections for roll error of bend
Matrix AU55, // Upstream 5x5 matrix
AD55; // Downstream 5x5 matrix
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment