Hi All,
Sorry if this is a silly question (I just started with Elegant), but I would like to:
-Get the Rij matrix components for every element in my beamline (namely interested in R56).
I tried putting in the matrix_output option in my .ele file but no 's%.mat' file is written and I get the error:
"warning: 577 elements had no matrix"
Any help would be greatly appreciated. I can provide the .lte/.sdds files needed to run my .ele file (but I'm pretty sure my issue is with my command).
R Matrix For Every Element?
Moderators: cyao, michael_borland
R Matrix For Every Element?
- Attachments
-
- help.ele
- (1.8 KiB) Downloaded 189 times
-
- Posts: 1951
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: R Matrix For Every Element?
Please post the .lte file. Don't see any obvious problem with the .ele file.
--Michael
--Michael
Re: R Matrix For Every Element?
Here is the lattice file; I have the other .sdds files, but they are over the 2MB size restriction. If needed I can probably send them to you some other way!
Thanks again in advance!
Thanks again in advance!
- Attachments
-
- help.lte
- (173.81 KiB) Downloaded 172 times
-
- Posts: 1951
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: R Matrix For Every Element?
I removed all the references to other files and made some small changes to the .ele file. It works as expected, see attached.
You can do
--Michael
You can do
Code: Select all
% elegant help.ele
% sddsplot -column=s,R56 help.mat
Re: R Matrix For Every Element?
Yup, that fixed it...so simple too
Thanks a bunch Michael!
Thanks a bunch Michael!