Site perso : Emmanuel Branlard

9.3 Learning from my mistakes

- Generating of a distribution with a kinetic energy of 0 implies that the boost matrix is not defined (division by zero)
- SCGridInterpolate requires arguments relative to the bunch center, no absolute positions
- When estimating the min and max of the bunch, the loop must be initialized to the center of the bunch (boosted coordinates for instance)
- Watch out for the parameter Qbunch in Newrun, whatever the distribution, Qbunch is taken
- In the input distribution file, X and Y are not relative to the reference particle, but absolute values. If offset are required, one should inut them in the run file. Idem for px and py.








Emmanuel Branlard