73 research outputs found
The CLASSIC Project
Exchange of data and algorithms among accelerator physics programs is difficult because of unnecessary differences in input formats and internal data structures. To alleviate these problems a C++ class library called CLASSIC (Clas Library for Accelerator System Simulation and Control) is being developed with the goal to provide standard building blocks for computer programs used in accelerator lattice structures in computer memory using a standard input language, a graphical user interface, or a programmed algorithm. It also provides simulation algorithms. These can easily be replaced by modules which communicate with the control system of the accelerator. Exchange of both data and algorithm between different programs using the CLASSIC library should present no difficulty
Experience with the classic library in MAD version 9
The CLASSIC library is a C++ class library which provides services for building portable accelerator models and algorithms for their analysis. This paper describes the motivations behind the CLASSIC library and its main features. It shows how this library can be used in a large accelerator design program like the new version 9 of MAD written in C++. The possibilities are illustrated by presenting some new developments in MAD version 9, like sophisticated matching features with simultaneous matching of two rings.The major part of the CLASSIC library is now implemented. Its source code and some preliminary documentation are available from the author
MAD Version 9
The program MAD is widely used for accelerator design and beam dynamics studies. For many years, its input language has been the nearest thing to a world-wide standard for describing accelerator structures. The new Version 9 is a complete rewrite using a systematic object-oriented methodology based on the CLASSIC classes [2] for accelerator physics. It provides many improvements over the previous MAD Version 8. These include: (i) support for multiple beam-lines simultaneously, facilitating, for example, matching constraints that couple the two rings of a two-ring collider, (ii) much improved Lie-algebraic map calculations, (iii) a uniform method and format for exchanging many kinds of structured data with other programs, (iv) an improved and more consistent input language. In addition, we report on a parallel 3D Poisson field solver for space charge calculations in high intensity particle beams. Applied to the PSI injector cyclotron, this shows the general nature of MAD Version 9 as a state-of- the-art problem-solving environment. We describe the current status of the program and how to get it, outline future plans and illustrate some of the new features
- …