Search found 43 matches

by petrenko
16 Sep 2008, 11:04
Forum: General
Topic: insert_elements
Replies: 2
Views: 1805

insert_elements

Could you give an example of "insert_elements" usage please?
I can't make it work.
by petrenko
16 Sep 2008, 02:25
Forum: Feature Requests
Topic: sddsshift string columns
Replies: 2
Views: 7737

Re: sddsshift string columns

Thanks! I'll use this solution.
Before I had to shift all the numeric columns instead of ElementName.
by petrenko
15 Sep 2008, 09:16
Forum: Feature Requests
Topic: sddsshift string columns
Replies: 2
Views: 7737

sddsshift string columns

Could you enable sddsshift to work with string columns? For example, if I want to get Twiss parameters at the beginnings of all the elements it would simply take: sddsshift twiss.sdds -pipe=out -col=ElementType -shift=1 | ... Cyclic shift would be useful as well. But this probably is not so easy to ...
by petrenko
12 Sep 2008, 11:06
Forum: Bugs
Topic: comment ignored in lattice definition
Replies: 1
Views: 2238

comment ignored in lattice definition

This line in lattice definition for some reason is not treated as a comment:

!QT_M : MULTIPOLE,K1L=0.298914

Elegant says:
...
Error: unknown parameter K1L used for !QT_M MULT (parse_element)
valid parameters are:L (0.0000000000000000 M)
...
by petrenko
04 Sep 2008, 02:59
Forum: Bugs
Topic: algebraic sddsprocess crash
Replies: 2
Views: 2700

Re: algebraic sddsprocess crash

Error happens only then the script is executed as a tcl-file.
Try to copy the script as it is into a file and run it as "tclsh85 script.tcl" or something.

Also if you write the definition in a single line no error happens.
by petrenko
04 Sep 2008, 02:44
Forum: Feature Requests
Topic: algebraic sddsprocess
Replies: 2
Views: 7893

Re: algebraic sddsprocess

Thanks a lot!
by petrenko
01 Sep 2008, 08:13
Forum: Feature Requests
Topic: algebraic sddsprocess
Replies: 2
Views: 7893

algebraic sddsprocess

Hi! Is it possible to somehow implement the functions, defined in defns.rpn, for "algebraic" mode in sddsprocess? Algebraic mode is very useful for long expressions, but it supports only the simplest operations (abs, sinh, cosh, int, etc., are not supported). There is also a problem with negative nu...
by petrenko
01 Sep 2008, 07:35
Forum: Bugs
Topic: algebraic sddsprocess crash
Replies: 2
Views: 2700

algebraic sddsprocess crash

In Windows I have a strange crash of sddsprocess executed with "algebraic" option: #!/usr/bin/tclsh exec \ sddssequence -pipe=out -define=Index -sequence=begin=1,number=10,delta=1 | \ sddsconvert -ascii -pipe | \ sddsprocess -pipe \ "-define=col,x, \ 11111*(1 + 1)/1 - \ 11111*(1 + 1)/1 + \ 11111*(1*...
by petrenko
05 Aug 2008, 08:47
Forum: Ring Tracking
Topic: Matrix concatenation
Replies: 2
Views: 2807

Re: Matrix concatenation

Thank you very much! Now it works very fast. 3rd-order matrix concatenation takes about 1 minute but then it can track 2 million turns in a couple of minutes. Using the ILMATRIX element for the Tevatron is not possible, I think, since the horizontal and vertical betatron motion is coupled. This coll...
by petrenko
05 Aug 2008, 04:06
Forum: Ring Tracking
Topic: Matrix concatenation
Replies: 2
Views: 2807

Matrix concatenation

Dear Michael Borland, Could you please explain what the "matrix concatenation" in elegant means (concat_order option in run_setup)? I need to simulate a kicked beam decoherence in the Tevatron, over many thousand turns. It's enough for me now to have a second order matrix approximation for all the e...