R/T matrix output

Moderators: cyao, michael_borland

Post Reply
astecpete
Posts: 35
Joined: 24 Jul 2008, 04:01
Location: Daresbury Laboratory, UK

R/T matrix output

Post by astecpete » 23 Sep 2011, 10:44

Hi Michael,

I'm investigating some effects in the arc of our ERL, ALICE. I did a quick test, plotting dispersion and R16, expecting them to be identical. But they're not. Am I going crazy?

Pete

(couldn't upload the .sh so renamed it to .txt)
Attachments
alice_test_sh.txt
(524 Bytes) Downloaded 1474 times
alice_optim.new
(14.24 KiB) Downloaded 1573 times
alice_test.ele
(2.26 KiB) Downloaded 1485 times

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

Re: R/T matrix output

Post by michael_borland » 23 Sep 2011, 14:37

Pete,

Try setting local_dispersion=0 in &twiss_output. That should eliminate the difference. The manual page for &twiss_output provides an explanation.

If that doesn't resolve it, let me know.

--Michael

astecpete
Posts: 35
Joined: 24 Jul 2008, 04:01
Location: Daresbury Laboratory, UK

Re: R/T matrix output

Post by astecpete » 25 Sep 2011, 05:28

Michael,
The answer to my question is - yes, i am going crazy. I'd forgotten that the R-matrix elements are concatenated from the start of the beamline, so are "global" rather than local. So the plots are right and it's my understanding at fault - I could blame it on that friday afternoon feeling!

However - when I do turn local_dispersion = 0, i get zeros everywhere in the .twi file. The version of elegant i've got on this machine is 23.1.2.

Pete

Post Reply