Phase advance

Moderators: cyao, michael_borland

Post Reply
Hao.S
Posts: 3
Joined: 19 Aug 2020, 10:20

Phase advance

Post by Hao.S » 03 Jul 2023, 23:44

Hi, I have a question about optimizing phase advance between two markers by elegant. The attachments are my elegant files. When I run this script, some errors will appear like as following.

unknown token: M1#2.nux
unknown token: M1#1.nux
too few items on stack (subtract)
*stop*
too few items on numeric stack (less)
too few items on logical stack (conditional_udf)
*stop*
too few items on stack (subtract)
*stop*
unknown token: M1#2.nuy
unknown token: M1#1.nuy
too few items on stack (subtract)
*stop*
too few items on numeric stack (less)
too few items on logical stack (conditional_udf)
*stop*
too few items on stack (subtract)
*stop*

Could you help me to solve this problem? Thanks !!!
Attachments
run2.ele
(2.29 KiB) Downloaded 163 times
dba.lte
(822 Bytes) Downloaded 170 times

michael_borland
Posts: 1959
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: Phase advance

Post by michael_borland » 16 Aug 2023, 12:52

In order for phase advances to be available, you have to include a &twiss_output command with output_at_each_step=1.

--Michael

Post Reply