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

Closed orbit search using stochastic switch in ptc #566

Closed
ttydecks opened this issue Feb 14, 2018 · 1 comment
Closed

Closed orbit search using stochastic switch in ptc #566

ttydecks opened this issue Feb 14, 2018 · 1 comment

Comments

@ttydecks
Copy link

Hi,
using the stochastic switch in ptc closed orbit is found by ptc_twiss but not by ptc_track if both are called:

PTC_SETSWITCH, debuglevel=1, maxacceleration=false, exact_mis=false, time=true, totalpath=false, fringe=true, radiation=true, stochastic=true, envelope=true;

PTC_TWISS, ICASE=6, CLOSED_ORBIT, NO=2, RMATRIX;

PTC_TRACK, ICASE=6, CLOSED_ORBIT, RADIATION;

Best regards,
Tobias

@piotrskowronski
Copy link
Contributor

With stochastic kicks the closed orbit search has chance to find a solution, because it is a moving target. Implemented switching off stochastic during for the search.
Implemented also a status check after from the closed orbit search in ptc_track, so now an error is emitted when it fails.

Implemented in PR #565

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants