Possible bug in IBSCATTER writing output
Posted: 14 Apr 2025, 11:27
Hello,
I am a new Elegant user so forgive me if this question has already been answered somewhere else.
I am trying to simulate the effect of IBS in a linac and see the evolution throughout the linac. In my current method, I insert IBSCATTER elements with the same output filename throughout the beamline. From the user manual, I was expecting a multipage output, one for each IBSCATTER element because in the manual it says "Each page contains integrated IBS growth rates between IBSCATTERs." However, my output file is only 1 page and includes the last element. It seems to me that rather than writing each IBSCATTER element to its own page in the output file it is instead overwriting the file.
I had a hard time finding examples using the IBSCATTER element, so please let me know if this is not the correct way to use it/I should be writing and interpreting the output files differently. Any examples would be greatly appreciated. Thanks in advance for the replies.
Cheers,
Phia
I am a new Elegant user so forgive me if this question has already been answered somewhere else.
I am trying to simulate the effect of IBS in a linac and see the evolution throughout the linac. In my current method, I insert IBSCATTER elements with the same output filename throughout the beamline. From the user manual, I was expecting a multipage output, one for each IBSCATTER element because in the manual it says "Each page contains integrated IBS growth rates between IBSCATTERs." However, my output file is only 1 page and includes the last element. It seems to me that rather than writing each IBSCATTER element to its own page in the output file it is instead overwriting the file.
I had a hard time finding examples using the IBSCATTER element, so please let me know if this is not the correct way to use it/I should be writing and interpreting the output files differently. Any examples would be greatly appreciated. Thanks in advance for the replies.
Cheers,
Phia