Page 1 of 1

periodic beta function

Posted: 16 Jun 2021, 02:18
by Samira.kasaei
Hi,

I am beginner in elegant. I have simulated my ring in elegant but I can't achieve a periodic beta function for the ring. Could you please take a look at my ring?

many thanks in advance,
Samira

Re: periodic beta function

Posted: 15 Jul 2021, 13:26
by michael_borland
Samira,

Your lattice definition appears to have an error. The line

Code: Select all

D16_rf: drift,l=2.0050-0.48;
is not valid syntax for ELEGANT lattice files. You can use the following instead

Code: Select all

D16_rf: drift,l="2.0050 0.48 -"
See the manual section on accelerator and element description for more details.

--Michael

Re: periodic beta function

Posted: 17 Jul 2021, 23:29
by Samira.kasaei
Dear Michael,

Many thanks for reply. It works now. :)
Best regards,
Samira