closed_orbit won't converge with space charge
Moderators: cyao, michael_borland
closed_orbit won't converge with space charge
I'm trying to find a closed orbit on a ring with space charge. I can track with space charge and find a closed orbit without space charge, but when I have an insert_sceffects command it throws an error that says "error: closed orbit did not converge to better than 4.494233e+307 after 500 iterations (requirement is 1.000000e-12)", even with a total charge of 1e-99. Are these commands incompatible or am I doing something wrong? My .ele and .lte files are attached. Thanks in advance for the help!
-
- Posts: 1933
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: closed_orbit won't converge with space charge
There is a bug, which is fixed in the attached file if you build from source. Otherwise, the bug will be fixed in the next release.
To be clear, even with this fix, elegant doesn't compute the effect of space charge on the closed orbit. For that, you'll need to perform tracking over many turns.
--Michael
To be clear, even with this fix, elegant doesn't compute the effect of space charge on the closed orbit. For that, you'll need to perform tracking over many turns.
--Michael
- Attachments
-
- do_tracking.c
- (184.19 KiB) Downloaded 186 times