From b364391f07b5e25b3123f7379d73b55253cde17b Mon Sep 17 00:00:00 2001 From: zhang <zhang@9a6e40ed-f3a0-4838-9b4a-bf418f78e88d> Date: Fri, 23 Sep 2011 13:26:40 +0000 Subject: [PATCH] Add comments. --- tracy/tracy/inc/tracy_global.h | 2 +- tracy/tracy/src/mathlib.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tracy/tracy/inc/tracy_global.h b/tracy/tracy/inc/tracy_global.h index 82f5f73..781bbdf 100644 --- a/tracy/tracy/inc/tracy_global.h +++ b/tracy/tracy/inc/tracy_global.h @@ -56,7 +56,7 @@ typedef struct globvalrec { double Qb, // bunch charge D_IBS[DOF]; // diffusion matrix (Floquet space) 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 emittances */ int RingType; // 1 if a ring (0 if transfer line) diff --git a/tracy/tracy/src/mathlib.cc b/tracy/tracy/src/mathlib.cc index d84458e..77fd662 100644 --- a/tracy/tracy/src/mathlib.cc +++ b/tracy/tracy/src/mathlib.cc @@ -194,7 +194,7 @@ double normranf(void) } #undef maxiter - +/* convert degree to radian */ double dtor(const double d) { return (d*M_PI/180.0); } -- GitLab