Hi Michael,
I am working on a beamline with quads and chicane, for specific use, I
need to make sure t226 = t446 = 0 for the whole beamline matrix. I tried to
vary four quads strength to match this condition, but it seemed that
T-matrix element was not recognized by ELEGANT optimization routine. Is
there a possible way to do the second order match with ELEGANT ? or is
there any other code that can be used to realize this?
Thanks a lot.
--Weilun
Matching second order matrix
Moderators: cyao, michael_borland
-
- Posts: 1933
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: Matching second order matrix
Weilun,
If you set matrix_order=2 in the &optimization_setup command, then symbols such as T262 and T464 should be available. Note that in elegant notation, Tijk is available for 1<=i<=6, 1<=j<=6, 1<=k<=j. E.g., use T262, not T226.
--Michael
If you set matrix_order=2 in the &optimization_setup command, then symbols such as T262 and T464 should be available. Note that in elegant notation, Tijk is available for 1<=i<=6, 1<=j<=6, 1<=k<=j. E.g., use T262, not T226.
--Michael
Re: Matching second order matrix
It worked.
I only set the output order in &matrix_output and forgot the &optimization_setup before.
Thank you for your time.
--Weilun
I only set the output order in &matrix_output and forgot the &optimization_setup before.
Thank you for your time.
--Weilun