how does Cwiggler radiation works?
Posted: 20 Dec 2017, 09:02
Dear Elegant coders,
We are trying to implement a general wiggler with radiation in AT. We are very happy with Elegant's Cwiggler but we also routinely use AT. We started looking at the way AT includes radiation in dipoles and tried to include it in Wu’s code. After many unsuccessful tests, since it is open source (I think this is very nice), we decided to take a look at your code.
Regarding your code, there is one basic thing that I do not understand, maybe you could explain it. Why before applying the radiation kick, there is a momentum coordinate change:
X[1] -= ax;
X[3] -= ay;
This may be a too basic question, maybe we are lacking some basic teaching about how to include radiation in the integrators, could you point out any paper or publication where this issue is addressed?
By the way, it just occurred to me that maybe you know if there already exists a version of the code with radiation for AT.
Sorry if this is not the appropriate place to rise all these questions,
Best regards,
Zeus
We are trying to implement a general wiggler with radiation in AT. We are very happy with Elegant's Cwiggler but we also routinely use AT. We started looking at the way AT includes radiation in dipoles and tried to include it in Wu’s code. After many unsuccessful tests, since it is open source (I think this is very nice), we decided to take a look at your code.
Regarding your code, there is one basic thing that I do not understand, maybe you could explain it. Why before applying the radiation kick, there is a momentum coordinate change:
X[1] -= ax;
X[3] -= ay;
This may be a too basic question, maybe we are lacking some basic teaching about how to include radiation in the integrators, could you point out any paper or publication where this issue is addressed?
By the way, it just occurred to me that maybe you know if there already exists a version of the code with radiation for AT.
Sorry if this is not the appropriate place to rise all these questions,
Best regards,
Zeus