Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
TRACY3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PA
Optics
TRACY3
Commits
b364391f
Commit
b364391f
authored
13 years ago
by
zhang
Browse files
Options
Downloads
Patches
Plain Diff
Add comments.
parent
0cff7656
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
tracy/tracy/inc/tracy_global.h
+1
-1
1 addition, 1 deletion
tracy/tracy/inc/tracy_global.h
tracy/tracy/src/mathlib.cc
+1
-1
1 addition, 1 deletion
tracy/tracy/src/mathlib.cc
with
2 additions
and
2 deletions
tracy/tracy/inc/tracy_global.h
+
1
−
1
View file @
b364391f
...
@@ -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)
...
...
This diff is collapsed.
Click to expand it.
tracy/tracy/src/mathlib.cc
+
1
−
1
View file @
b364391f
...
@@ -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
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment