Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 380475b3 authored by ext-calvo_p's avatar ext-calvo_p
Browse files

Resolve "Modify documentation of momentum tolerance"

parent f0aac4c5
No related branches found
No related tags found
No related merge requests found
...@@ -110,8 +110,10 @@ NPART:: ...@@ -110,8 +110,10 @@ NPART::
The number of macro particles for the simulations The number of macro particles for the simulations
NSLICE:: NSLICE::
The number of slices per bunch The number of slices per bunch
MOMENTUM_TOLERANCE:: MOMENTUMTOLERANCE::
Fractional tolerance to deviations in the distribution compared to the reference momentum at initialisation. If <= 0, no tolerance checking is done (default=1e-2). Fractional tolerance to deviations in the distribution compared to the
reference momentum at initialisation. If `MOMENTUMTOLERANCE` latexmath:[<=0],
no tolerance checking is done (default=1e-2).
[[sec.beam.bibliography]] [[sec.beam.bibliography]]
=== References === References
......
...@@ -352,7 +352,8 @@ To maintain consistency, latexmath:[N] and `NPART` from the `BEAM` command ...@@ -352,7 +352,8 @@ To maintain consistency, latexmath:[N] and `NPART` from the `BEAM` command
In the same way, when using a `FROMFILE` type distribution, the average In the same way, when using a `FROMFILE` type distribution, the average
momentum of the distribution must coincide with the momentum specified in the momentum of the distribution must coincide with the momentum specified in the
`BEAM` command by means of `GAMMA`, `ENERGY` or `PC` attributes `BEAM` command by means of `GAMMA`, `ENERGY` or `PC` attributes
(see Section link:beam-command#sec.beam-command.beam-energy[Beam Energy]). (see Section link:beam-command#sec.beam-command.beam-energy[Beam Energy]),
according to the parameter `MOMENTUMTOLERANCE`.
In _OPAL-t_, the given momentum in the `BEAM` command must coincide with the In _OPAL-t_, the given momentum in the `BEAM` command must coincide with the
z-component of the momentum of the particle distribution in the file. z-component of the momentum of the particle distribution in the file.
On the other hand, in _OPAL-cycl_ the given momentum must coincide with the On the other hand, in _OPAL-cycl_ the given momentum must coincide with the
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment