CERN Accelerating science

Article
Report number arXiv:2011.04335
Title Merlin++, a flexible and feature-rich accelerator physics and particle tracking library
Author(s) Appleby, Robert B. (U. Manchester (main) ; Cockcroft Inst. Accel. Sci. Tech.) ; Barlow, Roger J. (Huddersfield U.) ; Kruecker, Dirk (DESY) ; Molson, James (CERN) ; Rowan, Scott (Huddersfield U.) ; Tygier, Sam (U. Manchester (main)) ; Rafique, Haroon (CERN) ; Walker, Nicholas (DESY) ; Wolski, Andrzej (U. Liverpool (main) ; Cockcroft Inst. Accel. Sci. Tech.)
Publication 2022-02
Imprint 2020-11-09
Number of pages 17
In: Comput. Phys. Commun. 271 (2022) 108204
DOI 10.1016/j.cpc.2021.108204 (publication)
Subject category physics.acc-ph ; Accelerators and Storage Rings
Abstract Merlin++ is a C++ charged-particle tracking library developed for the simulation and analysis of complex beam dynamics within high energy particle accelerators. Accurate simulation and analysis of particle dynamics is an essential part of the design of new particle accelerators, and for the optimization of existing ones. Merlin++ is a feature-full library with focus on long-term tracking studies. A user may simulate distributions of protons or electrons in either single particle or sliced macro-particle bunches. The tracking code includes both straight and curvilinear coordinate systems allowing for the simulation of either linear or circular accelerator lattice designs, and uses a fast and accurate explicit symplectic integrator. Physics processes for common design studies have been implemented, including RF cavity acceleration, synchrotron radiation damping, on-line physical aperture checks and collimation, proton scattering, wakefield simulation, and spin-tracking. Merlin++ was written using C++ object orientated design practices and has been optimized for speed using multicore processors. This article presents an account of the program, including its functionality and guidance for use.
Copyright/License preprint: (License: arXiv nonexclusive-distrib 1.0)
publication: © 2021-2024 Elsevier B.V.



Corresponding record in: Inspire


 Journalen skapades 2020-12-09, och modifierades senast 2022-01-14


Fulltext:
Download fulltext
PDF