You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When tracking through a dipole with zero field (ie. ANGLE=0 and K1=0, K1S=0, etc.) the results are not the same as for a tracking through a regular drift.
This is due to the fact that the pure DRIFT uses the solution the full Hamiltonian (total momentum, including the square root); ttdrf in trrun.f90.
But, the bends use the truncated Hamiltonian (both using ttcfd in trrun.f90).
A correct implementation should detect that a generic combined function dipole (ttcfd) degenerates to a drift and switch to ttdrf. This is already done in ttquad when this happens in a quadrupole.
The text was updated successfully, but these errors were encountered:
chernals
changed the title
Thick tracking in field-free dipole or quadrupole not consistent with tracking in drift
Thick tracking in field-free dipole not consistent with tracking in drift
Oct 26, 2019
When tracking through a dipole with zero field (ie. ANGLE=0 and K1=0, K1S=0, etc.) the results are not the same as for a tracking through a regular drift.
This is due to the fact that the pure DRIFT uses the solution the full Hamiltonian (total momentum, including the square root);
ttdrf
intrrun.f90
.But, the bends use the truncated Hamiltonian (both using
ttcfd
intrrun.f90
).A correct implementation should detect that a generic combined function dipole (
ttcfd
) degenerates to a drift and switch tottdrf
. This is already done inttquad
when this happens in a quadrupole.The text was updated successfully, but these errors were encountered: