You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* add option to cut gaussian
* cut gaussian distrubution at injection
* add test for cut gaussian beam
* increase tolerance
* doc: mention that cutting the gaussian results in a lower total charge
* more explicit
* beware the const-able
Copy file name to clipboardExpand all lines: Docs/source/running_cpp/parameters.rst
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -276,6 +276,8 @@ Particle initialization
276
276
``<species_name>.npart`` (number of particles in the beam),
277
277
``<species_name>.x/y/z_m`` (average position in `x/y/z`),
278
278
``<species_name>.x/y/z_rms`` (standard deviation in `x/y/z`),
279
+
``<species_name>.x/y/z_rms`` (standard deviation in `x/y/z`),
280
+
``<species_name>.x/y/z_cut`` (optional, particles with ``abs(x-x_m) > x_cut*x_rms`` are not injected, same for y and z. ``<species_name>.q_tot`` is the charge of the un-cut beam, so that cutting the distribution is likely to result in a lower total charge),
279
281
and optional argument ``<species_name>.do_symmetrize`` (whether to
0 commit comments