Using &correct with &sdds_beam

Moderators: cyao, michael_borland

Post Reply
foshea
Posts: 34
Joined: 23 Jun 2009, 21:00

Using &correct with &sdds_beam

Post by foshea » 14 Oct 2020, 18:54

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.
Attachments
correct_test.tar.gz
(2.84 MiB) Downloaded 484 times

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

Re: Using &correct with &sdds_beam

Post by michael_borland » 28 Oct 2020, 15:03

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

Post Reply