Hi,
I am trying to simulate two quadrupole wakefield sources in Elegant. I defined them like this:
SINSB05.UDCP100_quad: TRWAKE, INPUTFILE = "Wake_quadrupole.txt", TCOLUMN="t",WXCOLUMN="W", WYCOLUMN="W", FACTOR=1, N_BINS = 0, X_DRIVE_EXPONENT=0, Y_DRIVE_EXPONENT=0, X_PROBE_EXPONENT=1, Y_PROBE_EXPONENT=1
where Wake_quadrupole.txt is a file from ECHO.
I would like to have the second source rotated by 90 degrees from the first one. How can I set this?
Many thanks,
Rita
Quadrupole wakefield
Moderators: cyao, michael_borland
-
- Posts: 1951
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: Quadrupole wakefield
Rita,
Since you gave the same column name for WxColumn and WyColumn, I'm not sure what it means to rotate this 90 degrees.
However, you can always bracket any element with ROTATE elements, e.g.,
--Michael
Since you gave the same column name for WxColumn and WyColumn, I'm not sure what it means to rotate this 90 degrees.
However, you can always bracket any element with ROTATE elements, e.g.,
Code: Select all
TRW1: TRWAKE,...
R1: ROTATE,TILT="pi 2 /"
R2: ROTATE,TILT="pi -2 /"
TRW1R: line=(R1,TRW1,R2)