Merlin++, a flexible and feature-rich accelerator physics and particle tracking library

Robert Appleby, Roger Barlow, Dirk Kruecker, James Molson, Haroon Rafique +4 more
11/9/2020
physics.acc-ph

Official code: Merlin-Collaboration/Merlin (18 stars, C++, GPL-2.0, last commit 2023-07-04).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

GPL-2.0

Merlin++ Particle Accelerator Simulation Library

1817C++, PythonJun 28, 20173 years agoGPL-2.0
accelerator-physicsfcchl-lhcilcslhc+5 more

Similar Papers

Cite this paper

@article{appleby2020merlin,
  title  = {Merlin++, a flexible and feature-rich accelerator physics and particle tracking library},
  author = {Robert Appleby and Roger Barlow and Dirk Kruecker and James Molson and Haroon Rafique and Scott Rowan and Sam Tygier and Nicholas Walker and Andrzej Wolski},
  year   = {2020},
  eprint = {2011.04335},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2011.04335}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2011.04335.svg)](https://codeofpaper.com/paper/2011.04335)

Discussion