issue with divide_elements
Posted: 04 Nov 2016, 05:20
Hi,
I noticed the divide_element changes the output results in some instances (i my case when tracking a particle distribution using a previously fitted lattice). I have attached a targz file that reproduces my problem. In brief, I do some fitting and in the last pass I track an incoming distribution in the fitted lattice.
If I run the ele file prob_divide.ele and then analyze the output distribution I found, e.g. for betax 7.675589825605547e+02 . If I now comment the divide_elements block starting line 389, run elegant again I find the output betax is changed to 2.484119249735075e+01 . See the readme file to follow the command I use.
I am not sure if this is a problem with elegant or an issue with the way I am running my file. I have tried to strip my file to a minimalist test case (though the ele file is still long). Thank you for any help. -- Philippe.
I noticed the divide_element changes the output results in some instances (i my case when tracking a particle distribution using a previously fitted lattice). I have attached a targz file that reproduces my problem. In brief, I do some fitting and in the last pass I track an incoming distribution in the fitted lattice.
If I run the ele file prob_divide.ele and then analyze the output distribution I found, e.g. for betax 7.675589825605547e+02 . If I now comment the divide_elements block starting line 389, run elegant again I find the output betax is changed to 2.484119249735075e+01 . See the readme file to follow the command I use.
I am not sure if this is a problem with elegant or an issue with the way I am running my file. I have tried to strip my file to a minimalist test case (though the ele file is still long). Thank you for any help. -- Philippe.