diff --git a/beam-command.asciidoc b/beam-command.asciidoc index 43a4176a9371d5c1026388e8713b681635792e81..bc7908d33a7cd27ff8ada30cd2a70e2b1b369a8c 100644 --- a/beam-command.asciidoc +++ b/beam-command.asciidoc @@ -110,8 +110,10 @@ NPART:: The number of macro particles for the simulations NSLICE:: The number of slices per bunch -MOMENTUM_TOLERANCE:: - Fractional tolerance to deviations in the distribution compared to the reference momentum at initialisation. If <= 0, no tolerance checking is done (default=1e-2). +MOMENTUMTOLERANCE:: + 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]] === References diff --git a/distribution.asciidoc b/distribution.asciidoc index b69aeea0747f44be922264bf0cdbb39e77b9a7c9..c09dc86e4f2f5158d1514561a8cb6708ce7c1606 100644 --- a/distribution.asciidoc +++ b/distribution.asciidoc @@ -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 momentum of the distribution must coincide with the momentum specified in the `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 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