Skip to content

Refactor: avoid beta elements file

Lorenzo Giacomel requested to merge refactor-avoid-beta-elements-file into master

With this MR we avoid having an input file specifying the beta functions and lengths of all elements (except the collimators). The same quantities are computed at the beginning of a simulation using the newly added machine layout info.

The betas and lengths are not computed on the fly because otherwise some operations have to be repeated each time, which would slow down the calculations considerably

Merge request reports