ABSTRACT

We describe the arbitrary order charged particle transfer map code Tlie. This code is a general 6D relativistic design code with a MAD compatible input language and among others implements user defined functions and subroutines and nested fitting and optimization. First we describe the mathematics and physics in the code. Aside from generating maps for all the standard accelerator elements we describe an efficient method for generating nonlinear transfer maps for realistic magnet models. We have implemented the method to arbitrary order in our accelerator design code for cylindrical current sheet magnets. We also have implemented a self-consistent space-charge approach as in Charlie. Subsequently we give a description of the input language and finally, we give several examples from productions runs, such as cases with stacked multipoles with overlapping fringe fields.