Matching second order matrix

Moderators: cyao, michael_borland

Post Reply
Qin
Posts: 11
Joined: 22 Apr 2015, 07:48

Matching second order matrix

Post by Qin » 22 Apr 2015, 08:04

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

michael_borland
Posts: 1933
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: Matching second order matrix

Post by michael_borland » 22 Apr 2015, 08:22

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

Qin
Posts: 11
Joined: 22 Apr 2015, 07:48

Re: Matching second order matrix

Post by Qin » 22 Apr 2015, 08:39

It worked.
I only set the output order in &matrix_output and forgot the &optimization_setup before.
Thank you for your time.
--Weilun

Post Reply