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

Add comments.

parent 0cff7656
Branches
Tags
No related merge requests found
...@@ -56,7 +56,7 @@ typedef struct globvalrec { ...@@ -56,7 +56,7 @@ typedef struct globvalrec {
double Qb, // bunch charge double Qb, // bunch charge
D_IBS[DOF]; // diffusion matrix (Floquet space) D_IBS[DOF]; // diffusion matrix (Floquet space)
Vector wr, wi; // real and imaginary part of eigenvalues Vector wr, wi; // real and imaginary part of eigenvalues
Vector3 eps, // 3 motion invariants Vector3 eps, // 3 motion invariants, emittance?
epsp; /* transverse and longitudinal projected epsp; /* transverse and longitudinal projected
emittances */ emittances */
int RingType; // 1 if a ring (0 if transfer line) int RingType; // 1 if a ring (0 if transfer line)
......
...@@ -194,7 +194,7 @@ double normranf(void) ...@@ -194,7 +194,7 @@ double normranf(void)
} }
#undef maxiter #undef maxiter
/* convert degree to radian */
double dtor(const double d) { return (d*M_PI/180.0); } double dtor(const double d) { return (d*M_PI/180.0); }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment