Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes the BV flag for crab and the ref in doc. #919

Merged
merged 1 commit into from Jul 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/latexuguide/biblio-mad.bib
Expand Up @@ -353,7 +353,7 @@ @TechReport{SXF
@Misc{SixTrack-www,
title = {{SixTrack website}},
institution = {CERN},
note = {\href{http://cern.ch/sixtrack}{http://cern.ch/sixtrack}}}
note = {\url{http://cern.ch/sixtrack}}}

@TechReport{SixTrack,
author = {Frank Schmidt},
Expand Down Expand Up @@ -535,7 +535,7 @@ @TechReport{lebedev2010
title = {Betatron motion with coupling of horizontal and vertical degrees of motion},
institution = {Thomas Jefferson National Accelerator Facility},
year = 2010,
note = {\href{http://cern.ch/madx/doc/1748-0221_5_10_P10010.pdf}{PDF}}}
note = {\url{http://cern.ch/madx/doc/1748-0221_5_10_P10010.pdf}}

@TechReport{kapin2013,
author = "Valery Kapin and Frank Schmidt",
Expand Down
4 changes: 2 additions & 2 deletions src/twiss.f90
Expand Up @@ -8784,9 +8784,9 @@ SUBROUTINE tmcrab(fsec,ftrk,orbit,fmap,el,ek,re,te)
elrad = node_value('lrad ')
tilt = node_value('tilt ')

rfv = bvk * node_value('volt ')
rfv = node_value('volt ')
freq = node_value('freq ')
rfl = node_value('lag ')
rfl = node_value('lag ')

kn0l = rfv / pc / ten3p; ! MeV / 1d3 / GeV = rad
pn0 = quarter + rfl; ! 2pi/4 + rfl
Expand Down