2.1 General Bunch Distribution

Programs like ZAP and BBI, and the theory upon which they are based can only treat symmetric bunch distribution. Thompson and Ruth[4] developed a simple theory to calculate modes of irregularly spaced bunches. Their formalism also allows the possibility of bunches of different charge. In order to get the flexibility of having the most general bunch patterns, program clinchor has three commands to generate a symmetric bunch pattern, a bunch train, and a general bunch pattern. See namelist commands symmetricBunchPattern, bunchTrain, and generalBunchPattern in section 3. The bunch pattern can be read from a file using bunchPatternFromFile. Namelist command randomizeBunchCurrent generates a random component to the bunch distributions after the beam is defined.