LEGO - A Class Library for Accelerator Design and Simulation
An object-oriented class library of accelerator design and simulation is designed and implemented in a simple and modular fashion. All physics of single-particle dynamics is implemented based on the Hamiltonian in the local frame of the component. Symplectic integrators are used to approximate the integration of the Hamiltonian. A differential algebra class is introduced to extract a Taylor map up to arbitrary order. Analysis of optics is done in the same way both for the linear and non-linear cases. Recently, Monte Carlo simulation of synchrotron radiation has been added into the library. The code is used to design and simulate the lattices of the PEP-II and SPEAR3. And it is also used for the commissioning of the PEP-II. Some examples of how to use the library will be given.
- Research Organization:
- SLAC National Accelerator Lab., Menlo Park, CA (United States)
- Sponsoring Organization:
- USDOE Office of Energy Research (ER) (US)
- DOE Contract Number:
- AC03-76SF00515
- OSTI ID:
- 9967
- Report Number(s):
- SLAC-PUB-8011; TRN: US0103261
- Resource Relation:
- Other Information: PBD: 19 Nov 1998
- Country of Publication:
- United States
- Language:
- English
Similar Records
A Model of RHIC Using the Unified Accelerator Libraries
SimTrack: A compact c++ library for particle orbit and spin tracking in accelerators