I have a question about the &matrix_output option.
I am interested in computing the R-matrix terms in presence of closed orbit distortions:
&matrix_output
SDDS_output = %s.mat
individual_matrices = 1
&end
Since the R-terms turn out to be the same regardless of the amplitude of the closed orbit, I assume that
Elegant computes them for the basic lattice. Am I right ? How does on compute them with a lattice with
errors and at the perturbed closed orbit ?
Thanks, Max
&matrix_output
Moderators: cyao, michael_borland
-
- Posts: 1959
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: &matrix_output
Max,
By default the matrix_output command runs immediately when seen. However, the closed orbit is only run later in the main loop. You need to tell elegant to perform matrix_output later. You can do this by setting output_at_each_step=1 in matrix_output.
Let me know if that doesn't work.
--Michael
By default the matrix_output command runs immediately when seen. However, the closed orbit is only run later in the main loop. You need to tell elegant to perform matrix_output later. You can do this by setting output_at_each_step=1 in matrix_output.
Let me know if that doesn't work.
--Michael