Search found 17 matches

by xiaoam
16 Sep 2013, 11:34
Forum: Bugs
Topic: ignored_portion=0 problem
Replies: 6
Views: 2637

Re: ignored_portion=0 problem

Olga, I couldn't repeat your problem, please send me your input file. The tsptr->simuCount shouldn't be a problem. The code simulate a maximum 181818182 events automatically. If there is none of them exceed the momentum acceptance, there is no need to do this simulation. In your case, you got 4 M pa...
by xiaoam
20 Jun 2013, 10:24
Forum: Momentum Aperture
Topic: touschek_scatter
Replies: 17
Views: 27145

Re: touschek_scatter

Nicola, We will post an example shortly to the example site. Here is a quick apply. Input file needed: *.lte *.mmap (calculated from "momentum_aperture" command) 1. Add TSCATTER element to your beamline if you don't have it in your *.lte file. If you use this command you have to run step 4 at least ...
by xiaoam
07 Jan 2013, 11:39
Forum: Momentum Aperture
Topic: Touschek lifetime and +/- momentum aperture
Replies: 5
Views: 13772

Re: Touschek lifetime and +/- momentum aperture

A quick solution to this problem is as following: Assume the input file twiss: a.twi, aperture: a.mmap sddsprocess a.mmap pos.mmap -redef=col,deltaNegative,"deltaPositive -1 *" sddsprocess a.mmap neg.mmap -redef=col,deltaPositive,"deltaNegative -1 *" touschekLifetime neg.out -twiss=a.twi -aperture=n...
by xiaoam
04 Jan 2013, 19:16
Forum: Momentum Aperture
Topic: Touschek lifetime and +/- momentum aperture
Replies: 5
Views: 13772

Re: Touschek lifetime and +/- momentum aperture

Nicola, You are right. We did assume symmetry (using the minimum value) momentum aperture in our code for reducing calculation work. Thanks for point out the need to treat negative and positive part separately. The code has been updated and should be realeased next time. Anybody need the code before...
by xiaoam
22 Dec 2011, 18:18
Forum: Bugs
Topic: Bug found in GFWIGGLER Tracking
Replies: 1
Views: 1765

Bug found in GFWIGGLER Tracking

A bug was found in GFWIGGLER tracking which causes a non symplectic mapping from the entrance to the exit when the longitudinal row phase not equal to zero. So, if you are using the code to simulate a planar undulator, you will be OK. If you are planing to use it to simulate an APPLE undulator worki...
by xiaoam
25 Aug 2010, 16:39
Forum: Ring Tracking
Topic: Overlapping bunch
Replies: 2
Views: 5083

Re: Overlapping bunch

Hi Max, I don't think that elegant can handle such a case. Part of the reason is: the bunch length is much longer than individual element's dimension and it has curvature. This makes the longitudinal space charge calculation invalid. Also, I am not sure if the space charge can handle such low energy...
by xiaoam
16 Sep 2008, 11:44
Forum: General
Topic: insert_elements
Replies: 2
Views: 1611

Re: insert_elements

Thank you for trying our code.

In your insert_elements command, you need to add "skip=1" or some none zero number according to your problem.
The default value "skip=0" has no action to add element to the beamline.

aimin