diff --git a/docs/paper/the-karl-code/paper.tex b/docs/paper/the-karl-code/paper.tex index 92ba23c..bcd63a3 100755 --- a/docs/paper/the-karl-code/paper.tex +++ b/docs/paper/the-karl-code/paper.tex @@ -492,7 +492,7 @@ where the $H$ might also be in an excited state. } The ionization class is initiated using the cross section, the target specie, the new electron specie, the new ion specie, the ionization energy and distribution and the scattering angle distribution. It is developed for ionization of the target specie by impact of a particle, which is much lighter than the target. However, the code does not check for this condition. -In the interaction, first the velocity of a target particle is determined \changed{analogous} to its calculation in elastic scattering. Then, the impact energy in the \changed{center of mass} frame $E_\text{i}$ is calculated. If the impact energy is below the ionization energy $E_\text{ion}$, no ionization could occur and a new target particle velocity is drawn. This procedure can take a long time. However, the cross section of ionization decreases significantly \changed{close} the ionization energy. Thus, very few particles with energies close to the ionization energy will undergo ionization, which will therefore not increase the simulation time significantly. \changed{Once} a suitable target particle velocity is determined, the impact energy is used in the ionization energy distribution +In the interaction, first the velocity of a target particle is determined \changed{analogous} to its calculation in elastic scattering. Then, the impact energy in the \changed{center of mass} frame $E_\text{i}$ is calculated. If the impact energy is below the ionization energy $E_\text{ion}$, no ionization could occur and a new target particle velocity is drawn. This procedure can take a long time. However, the cross section of ionization decreases significantly \changed{close to} the ionization energy. Thus, very few particles with energies close to the ionization energy will undergo ionization, which will therefore not increase the simulation time significantly. \changed{Once} a suitable target particle velocity is determined, the impact energy is used in the ionization energy distribution % Note: should probably be cited and plotted... to draw the impact energy after collision $E_\text{i}^\text{new}$. The energy of the new electron $E_\text{e}$, also called ejected electron in the following, then follows \changed{from} \begin{equation} diff --git a/docs/paper/the-karl-code/referee_report_1.md b/docs/paper/the-karl-code/referee_report_1.md index af5ae9c..ffa7850 100644 --- a/docs/paper/the-karl-code/referee_report_1.md +++ b/docs/paper/the-karl-code/referee_report_1.md @@ -32,7 +32,7 @@ Consequently, I do not recommend publication of this manuscript. - C: “The code is parallelized using ... terminator, interaction types, movers and initialization.” This is difficult to understand and refers to details that are too specific.
Some of the comments are also obvious: the input of a program is expected to provide information about the simulation that the program is to carry out. What is the “resolution of the simulation domain”? What are the “user defined species”? What are the terminator and the movers?
1. F: Again, most of the information provided in sections 2 and 3 refer to the standard logic followed by all Monte Carlo codes simulating radiation-matter interaction that I know. A clear description of the novelties of the new code should be done making the corresponding comparisons with other available Monte Carlo codes that would be unable to do the same work. 2. C: Concerning equation (1): What is an “interaction partner”? Where is entering the drift velocity of the neutral gas? What are the predefined functions used to calculate the cross sections? -3. C: Equation (2) is not the most efficient way to calculate the “moved distance”. You should use d = −λmfp ·log η because this saves a division. In addition, and concerning the comment just after this equation, it is worth noting that the number of collisions in a given path length follows a Poisson distribution, but distances moved are distributed exponentially. Changed (in text not [yet] in the code); would not be a bottleneck in any case; poisson stuff also rephrased +3. C: Equation (2) is not the most efficient way to calculate the “moved distance”. You should use d = −λmfp ·log η because this saves a division. In addition, and concerning the comment just after this equation, it is worth noting that the number of collisions in a given path length follows a Poisson distribution, but distances moved are distributed exponentially. Changed; would not be a bottleneck in any case; poisson stuff also rephrased 4. ?: Figure 2, without dimensions and no further explanations, seems to me not much useful. 1. ? First paragraph of section 3: I should say that the characteristics mentioned are not exclusive of C++ and that, in my opinion, any modern programming language could diff --git a/docs/paper/the-karl-code/referee_report_2.md b/docs/paper/the-karl-code/referee_report_2.md index 7933513..a65fbfb 100644 --- a/docs/paper/the-karl-code/referee_report_2.md +++ b/docs/paper/the-karl-code/referee_report_2.md @@ -34,7 +34,7 @@ The paper omits much of the information that is the most interesting about this Comments written, feedback desired 5. C, F: There are some example scripts given in the codebase, but they are not referenced in the paper, do not come with documentation, and it is not clear what they do in terms of expected input, processing and output. Somewhere it should be made clear how one should run these examples, what they do, and what the expected output is. Furthermore, the examples should contain at least some semi-realistic use cases of the code for addressing relevant physics questions for tritium experiments. - + Added section to the README in karl that explains a bit what the different given json files are. Semi-realistic use case was always included with katrin_parameter_example.json. I now proceed to give some line-by-line comments -