Skip to content

Commit

Permalink
Fix minor logic bug in SINGLE tracking.
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidSagan committed Oct 30, 2023
1 parent 7b5e18c commit 20cd0d1
Show file tree
Hide file tree
Showing 4 changed files with 134 additions and 33 deletions.
2 changes: 1 addition & 1 deletion bmad/doc/charged-tracking.tex
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ \section{Relative Versus Absolute Time Tracking}
To understand the difference between relative and absolute time tracking, consider a particle
traveling on the reference orbit along side the reference particle in a circular ring with one RF
cavity. This particle always has $z = 0$ and thus, with \vn{relative time tracking}, $t_\text{eff}$
will always be zero (assuming \vn{bmad_com[absolute_time_ref_shift] is set to True) at the entrance
will always be zero (assuming \vn{bmad_com[absolute_time_ref_shift]} is set to True) at the entrance
to the cavity. With \vn{absolute time tracking}, the particle, on the first turn, will have
$t_\text{eff}$ equal to zero. However, on subsequent turns (or subsequent passes if using
multipass), the time will increase by the revolution time $t_\text{C}$ on each turn. If the RF
Expand Down
Loading

0 comments on commit 20cd0d1

Please sign in to comment.