KARL paper: some comments on Referee 1

This commit is contained in:
2025-01-16 12:19:25 +01:00
parent f4e9a38cd5
commit 72fea1c804
2 changed files with 15 additions and 16 deletions
+1 -1
View File
@@ -270,7 +270,7 @@ where $N^+$ and $N^-$ are the number of particles crossing the faces in positive
\section{Description of the implementation}
\label{sec:implementation}
For the simulation, we decided to use C++ as a programming language for several reasons. First, it can be used for object oriented programming. This makes the code easier to read, because the classes were closely modelled after their physical representation. Secondly, the accuracy of the simulation relies on high statistics. Thus, many particle decays need to be simulated, which requires a fast calculation. For the same reason, we decided to employ parallel calculation, see section~\ref{ssec:parallelization}.
For the simulation, we decided to use C++ as a programming language for several reasons. First, it can be used for object oriented programming. This makes the code easier to read, because the classes were closely modelled after their physical representation. Secondly, the accuracy of the simulation relies on high statistics. Thus, many particle decays need to be simulated, which requires a fast calculation.\changed{C++ combines object orientation and fast execution and is widely used and well standardized.} For the same reason, we decided to employ parallel calculation, see section~\ref{ssec:parallelization}.
There are three basic building blocks of the simulation. First, the simulation itself is treated as a class, which is responsible for initialization of the simulation environment, see section~\ref{ssec:initialization} and guiding through the flow of the simulation, see Figure~\ref{fig:simulation_flow}. Second, the particle class, which represents the simulated physical particles through their physical position, velocity and type of specie. Third, the specie class, which encapsulates the general behavior of each particle type (\changed{e.g.} electrons) in the simulation.