Search found 1798 matches

by michael_borland
19 Jun 2008, 12:00
Forum: General
Topic: Output file with same name produces corrupted sdds file
Replies: 2
Views: 22269

Re: Output file with same name produces corrupted sdds file

Louis, The problem here is that, while SDDS does file locking, a process can't lock files against itself. So even though the closed orbit calculation locks the file, the orbit correction calculation is allowed to access it because it is part of the same process. For now I think people just have to k...
by michael_borland
17 Jun 2008, 17:21
Forum: General
Topic: Sdds question
Replies: 3
Views: 27441

Re: Sdds question

Weiming, A very guru-like solution. It doesn't keep data like ElementName and s with the beta values, which might be a problem for some applications. I suspect that if the intermediate files are put on /tmp (or a local disk rather than a networked disk), then the speed of the two methods will be qui...
by michael_borland
17 Jun 2008, 13:00
Forum: General
Topic: Sdds question
Replies: 3
Views: 27441

Re: Sdds question

Weiming,

Here's how I'd do it:

sddsconvert input.twi input-x.twi -rename=column,betax=beta
sddsconvert input.twi input-y.twi -rename=column,betay=beta
sddscombine input-x.twi input-y.twi new.twi -merge -delete=col,betax,betay
rm input-x.twi input-y.twi

--Michael
by michael_borland
13 Jun 2008, 08:04
Forum: Bugs
Topic: transmute_elements bug
Replies: 0
Views: 20144

transmute_elements bug

Reported by Vadim Sajaev: When transmute_elements is used to turn a sextupole into a quadrupole, the following problems are seen: 1. Some parameters of the new quad are filled with garbage values. 2. When alter_elements is used to change parameter values, elegant crashes. 3. When save_lattice is use...
by michael_borland
13 Jun 2008, 07:56
Forum: Installation
Topic: Elegant & SDDS on Mac OS X 10.5
Replies: 13
Views: 278171

Re: Elegant & SDDS on Mac OS X 10.5

Jim,

Thanks for posting this. I've changed the software documentation page to point to this entry.

--Michael
by michael_borland
10 Jun 2008, 08:15
Forum: Dynamic Aperture
Topic: High-resolution dynamic aperture
Replies: 11
Views: 64235

Re: High-resolution dynamic aperture

I thought that for dynamic aperture the strongest effect comes from the field errors in bends. So if you have these SYSTEMATIC_MULTIPOLES and RANDOM_MULTIPOLES up to an arbitrary order in quadrupoles why not have them in dipoles? I'm quite new to dynamic aperture calculations. For electron machines...
by michael_borland
09 Jun 2008, 14:21
Forum: Dynamic Aperture
Topic: High-resolution dynamic aperture
Replies: 11
Views: 64235

Re: High-resolution dynamic aperture

petrenko wrote:Thanks for the example!

Do you have plans to include higher order components (Kn, n>4) in CSBEND element?
This is the first request I've had for this. I'll add it to my list of things to do. Out of curiousity, is there a particular motivation or application?

--Michael
by michael_borland
20 May 2008, 16:41
Forum: Dynamic Aperture
Topic: High-resolution dynamic aperture
Replies: 11
Views: 64235

High-resolution dynamic aperture

The find_aperture command can be used for finding dynamic aperture. It uses various search methods to find the DA boundary. Another method is just to perform tracking with a beam that fills a large rectangle in x-y space. By using the losses parameter of the run_setup command, one can get a record o...