Segmentation fault when 'sto'

Moderators: cyao, michael_borland

headdoggy64
Posts: 36
Joined: 18 Jul 2014, 12:44

Re: Segmentation fault when 'sto'

Post by headdoggy64 » 27 Aug 2014, 14:31

My goal is to run a beamline like this where I can freely adjust N.

Code: Select all

freespaceCellS: line=(D1, Kick)
freespace: line=(Q, N*freespaceCellS)
I guess if recirc is switched off, I will be running through the same element N times. Is it correct?

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

Re: Segmentation fault when 'sto'

Post by michael_borland » 27 Aug 2014, 15:22

The recirc element (short for recirculate) just allows you to enter the beamline at an interior point when going through the beamline more than once. The beam is taken from the end of the beamline to the element just after the recirc element. So while you are going through the same defined element each time, it includes the effects of the previous passages through the element.

If you omit recirc, then the beam from the end of the beamline is fed into the start of the beamline.

In your particular case, it won't make any difference.

--Michael

Post Reply