N_cavities in FTRFMODE seems doesn't work
Posted: 04 Apr 2022, 09:51
Dear Michael,
Recently I'm studying transverse effect of cavity Higher Order Modes using the element FTRFMODE. I found that when I changed the n_cavities from 8 to 1 it gives me the same result. Then I downloaded the newest elegant source code and looked into the code, it seems in both 'RFMODE', 'TRFMODE' and 'FRFMODE', when calculating the bin voltage, it is multiplied by n_cavities, but this is not the case in 'FTRFMODE'. Is it a bug or should I do some other settings in the element FTRFMODE to simulate multi cavities?
Best regards,
Siwei
Recently I'm studying transverse effect of cavity Higher Order Modes using the element FTRFMODE. I found that when I changed the n_cavities from 8 to 1 it gives me the same result. Then I downloaded the newest elegant source code and looked into the code, it seems in both 'RFMODE', 'TRFMODE' and 'FRFMODE', when calculating the bin voltage, it is multiplied by n_cavities, but this is not the case in 'FTRFMODE'. Is it a bug or should I do some other settings in the element FTRFMODE to simulate multi cavities?
Best regards,
Siwei