Page 1 of 1

Using &correct with &sdds_beam

Posted: 14 Oct 2020, 18:54
by foshea
I am trying to &correct the beam trajectory of a beam that I import from an earlier simulation. The manual seems to say that I can simply load the particles using &sdds_beam and set use_actual_beam = 1 inside &correct. However, when I do this the &correct command is considerably less verbose and the files %s.traj and %s.cor contain only the header. I have attached a minimal functioning example of the problem. When &bunched_beam is used, &correct appears to work. When &sdds_beam is used, &correct does not appear to work.

I am running elegant 2020.3.0.

Re: Using &correct with &sdds_beam

Posted: 28 Oct 2020, 15:03
by michael_borland
If you are using Pelegant, this won't work. It only works with elegant at present. I suggest sampling the particle distribution to reduce the number of particles so the runtime isn't too long.

--Michael