Command priority in partran matching mode
Posted: Mon 27 Jun 2022 05:05
Hi Didier,
I use command "set_size_max", "set_size" and "set_twiss" in my .dat fie and performed matching with Quads in partran mode. I noticed only set_twiss is considered in TraceWin. So I'm wondering are there any command priorities in partran mathcing mode?
My .dat file is like this:
DRIFT...
MATCH_FAM_GRAD 1 0
QUAD...
DRIFT...
MATCH_FAM_GRAD 1 0
QUAD...
DRIFT...
set_size_max...
DRIFT...
MATCH_FAM_GRAD 1 0
QUAD...
DRIFT...
MATCH_FAM_GRAD 1 0
QUAD...
DRIFT...
set_size...
DRIFT...
MATCH_FAM_GRAD 1 0
QUAD...
DRIFT...
MATCH_FAM_GRAD 1 0
QUAD...
DRIFT...
set_twiss...
DRIFT...
end
It works in matching mode(uncheck "With Partran") with "(2) Match with Family & Twiss commands" checked.
I'm using V2.18.1.1 on Win11 system.
Kinds,
Shliu
I use command "set_size_max", "set_size" and "set_twiss" in my .dat fie and performed matching with Quads in partran mode. I noticed only set_twiss is considered in TraceWin. So I'm wondering are there any command priorities in partran mathcing mode?
My .dat file is like this:
DRIFT...
MATCH_FAM_GRAD 1 0
QUAD...
DRIFT...
MATCH_FAM_GRAD 1 0
QUAD...
DRIFT...
set_size_max...
DRIFT...
MATCH_FAM_GRAD 1 0
QUAD...
DRIFT...
MATCH_FAM_GRAD 1 0
QUAD...
DRIFT...
set_size...
DRIFT...
MATCH_FAM_GRAD 1 0
QUAD...
DRIFT...
MATCH_FAM_GRAD 1 0
QUAD...
DRIFT...
set_twiss...
DRIFT...
end
It works in matching mode(uncheck "With Partran") with "(2) Match with Family & Twiss commands" checked.
I'm using V2.18.1.1 on Win11 system.
Kinds,
Shliu