Frozen model in lscdrift
Posted: 26 Sep 2018, 20:00
Hi,
I am doing simulations about three-stage microbunching instability study. I used a simple model {drift1,BC1,drift2,BC2,drift3,BC3} (where all three BC are EMATRIX elements to only introduce r56, no compression) to benchmark my theory equations.
When I am using beam energy as 1GeV, they agree well with each other (the peak position with larger difference), But for 100MeV case, much larger difference can be seen. I want to make sure the difference is coming from r56 in drift section which was not considered in my theory calculations. So I want to modify the source code to make sure particle longitudinal position doesn't change in the drift. I tried to search the source code to find where I should make the modification, but it seems not quite easy. Could you do me a favor telling me which source file I should go into ?
Best Regards,
Biaobin
I am doing simulations about three-stage microbunching instability study. I used a simple model {drift1,BC1,drift2,BC2,drift3,BC3} (where all three BC are EMATRIX elements to only introduce r56, no compression) to benchmark my theory equations.
When I am using beam energy as 1GeV, they agree well with each other (the peak position with larger difference), But for 100MeV case, much larger difference can be seen. I want to make sure the difference is coming from r56 in drift section which was not considered in my theory calculations. So I want to modify the source code to make sure particle longitudinal position doesn't change in the drift. I tried to search the source code to find where I should make the modification, but it seems not quite easy. Could you do me a favor telling me which source file I should go into ?
Best Regards,
Biaobin