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
Command priority in partran matching mode
Re: Command priority in partran matching mode
Dear Shliu,
All these commands have a parameter 'k' as the first parameter to balance each of them in the global criterion.
Regards,
Didier
All these commands have a parameter 'k' as the first parameter to balance each of them in the global criterion.
Regards,
Didier
Re: Command priority in partran matching mode
Dear Didier,
I mean commands "set_size" and "set_size_max" are ignored in partran matching mode, and only "set_twiss" is considered.
Kinds,
shliu
I mean commands "set_size" and "set_size_max" are ignored in partran matching mode, and only "set_twiss" is considered.
Kinds,
shliu
Re: Command priority in partran matching mode
Dear Shliu,
Sorry, I didn't understand.
SET_SIZE works with partran but not SET_SIZE_MAX, because under partran only the input and output beam sizes of the elements are known, making this last command not really relevant.
Regards,
Didier
Sorry, I didn't understand.
SET_SIZE works with partran but not SET_SIZE_MAX, because under partran only the input and output beam sizes of the elements are known, making this last command not really relevant.
Regards,
Didier
Re: Command priority in partran matching mode
I see. Thank you!