Energieproduktion und Konversion
Synergia: Driving Massively Parallel Particle Accelerator Simulations with Python
(0,25 MB)
Simulations of beam dynamics in particle accelerators have a wide range of computational requirements. The simplest calculations involve independent-particle tracking of a few thousand particles which can easily be accomplished on modern desktop computers. Calculations involving collective effects may require millions or even billions of particles and push the limits of modern supercomputers. We describe Synergia, a hybrid Python/C++ accelerator simulation package capable of dealing with the entire spectrum of beam dynamics simulations. We describe the motivations for the hybrid language design and discuss the issues that arise in the implementation. We also describe the most novel feature of our code, a hybrid C++/Python object serialization system, in detail. The same techniques are of general use in any domain by providing data and computationally intensive C++ frameworks with the advanced programming and user-friendly features of Python.
Verwandte Themen:
Physik der Elementarteilchen und Felder
Strukturmechanik
Elektronik und Elektrotechnik
Einrichtungen und Anlagen (Raumfahrt)
Energieproduktion und Konversion