Search found 1942 matches

by michael_borland
30 Jul 2008, 15:29
Forum: Linac Tracking
Topic: output more points
Replies: 3
Views: 3311

Re: output more points

Ding, You can use the divide_elements command to subdivide the drift spaces. For example ÷_elements name = *, type=DRIF, divisions = 10 &end This command needs to go before run_setup. The manual page is here: http://www.aps.anl.gov/Accelerator_Systems_Division/Operations_Analysis/manuals/elega...
by michael_borland
28 Jul 2008, 14:15
Forum: General
Topic: Element Naming Restrictions
Replies: 2
Views: 2716

Re: Element Naming Restrictions

I forgot to say, you can also have digits 0-9 in the name.

--Michael
by michael_borland
28 Jul 2008, 14:13
Forum: General
Topic: Element Naming Restrictions
Replies: 2
Views: 2716

Re: Element Naming Restrictions

Michele, The rules for naming elements and beamlines are as follows: * The name should start with an alphabetic character (i.e., a-zA-Z). * The name may contain any of the following characters: a-z A-Z ~ @ $ % ^ & - _ + = { } [ ] \ | / ? < > . : * The name should no contain any of the following char...
by michael_borland
25 Jul 2008, 13:01
Forum: Momentum Aperture
Topic: track momentum aperture+calculation of Touschek lifetime
Replies: 1
Views: 88800

Re: track momentum aperture+calculation of Touschek lifetime

Ping,

Thanks for posting the example.

I recommend using the attach lattice file instead of the one you posted. It has synchrotron radiation (classical only, no ISR) enabled, which gives more reliable determination of the momentum aperture.

--Michael
by michael_borland
24 Jul 2008, 10:31
Forum: Ring Tracking
Topic: Radia kickmap
Replies: 4
Views: 3936

Re: Radia kickmap

Weiming,

Thanks for posting this. I'm planning to include a built-in kick-map element in elegant in the next release.

Also, it should be possible to have elegant compute the matrix for the SCRIPT element using tracking, as it does with CWIGGLER.

--Michael
by michael_borland
21 Jul 2008, 08:03
Forum: Bugs
Topic: Requirement of SCRIPT element
Replies: 2
Views: 2919

Re: Requirement of SCRIPT element

Weiming,

I have confirmed this bug. Thanks for bringing it to my attention. It will be fixed in the next release.

For those who can't wait and who build from source, a modified version of the relevant file is attached.

--Michael
by michael_borland
17 Jul 2008, 17:00
Forum: Bugs
Topic: elegantRingAnalysis bug
Replies: 0
Views: 4613

elegantRingAnalysis bug

Vadim Sajaev reported a bug in elegantRingAnalysis when it is run without the Grid Engine queue. Postprocessing would fail when attempting to merge the log files.

The problem was in the file elegant.tcl, which goes in /usr/local/oag/apps/lib/$HOST_ARCH/. A corrected file is attached.

--Michael
by michael_borland
17 Jul 2008, 11:39
Forum: General
Topic: Making animated GIF movies
Replies: 2
Views: 4431

Making animated GIF movies

Here's how to make an animated GIF movie from data from elegant. You'll need the ImageMagick programs in order to do this. Imagine that you are tracking many turns and want to make a movie of the particle distribution turn-by-turn. In the .lte file, you need a watch point set up to record particle c...
by michael_borland
17 Jul 2008, 11:20
Forum: General
Topic: CSR instability
Replies: 4
Views: 3001

Re: CSR instability

I used Pelegant on one of our computer clusters at APS to perform a simulation for ~100 turns (actually only 93 as I inadvertently stopped the job). This took several days on 32 processors (I didn't keep track of exactly how long it ran.) The results are pretty interesting, as the attached animated ...
by michael_borland
15 Jul 2008, 20:20
Forum: Installation
Topic: about elegantRingAnalysis install
Replies: 2
Views: 4262

Re: about elegantRingAnalysis install

Sorry, I didn't read your entire message.

Can you look in /usr/local/oag/apps/lib/linux-x86 and see if there is a file APSDebugPath.tcl? If not, try reinstalling the OAGTclTk rpm.
http://www.aps.anl.gov/Accelerator_Syst ... html#TclTk

--Michael