Skip to content

Commit

Permalink
Add documentation for user-facing input control.
Browse files Browse the repository at this point in the history
  • Loading branch information
cemitch99 committed Oct 5, 2024
1 parent e27c30e commit 4f2d689
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/source/usage/parameters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -683,8 +683,8 @@ Diagnostics and output
This option is ignored for the openPMD output elements (remove them from the lattice to disable).

* ``diag.slice_step_diagnostics`` (``boolean``, optional, default: ``false``)
By default, diagnostics is performed at the beginning and end of the simulation.
Enabling this flag will write diagnostics every step and slice step
By default, diagnostics are computed and written at the beginning and end of the simulation.
Enabling this flag will write diagnostics at every step and slice step.

* ``diag.file_min_digits`` (``integer``, optional, default: ``6``)
The minimum number of digits used for the step number appended to the diagnostic file names.
Expand All @@ -694,6 +694,10 @@ Diagnostics and output
Diagnostics for particles lost in apertures, stored as ``diags/openPMD/particles_lost.*`` at the end of the simulation.
See the ``beam_monitor`` element for backend values.

* ``diag.eigenemittances`` (``boolean``, optional, default: ``false``)
If this flag is enabled, the 3 eigenemittances of the 6D beam distribution are computed and written as diagnostics.
This flag is disabled by default to reduce computational cost.


.. _running-cpp-parameters-diagnostics-insitu:

Expand Down
7 changes: 7 additions & 0 deletions docs/source/usage/python.rst
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,13 @@ Collective Effects & Overall Simulation Parameters
Diagnostics for particles lost in apertures.
See the ``BeamMonitor`` element for backend values.

.. py:property:: eigenemittances
Enable (``True``) or disable (``False``) output of eigenemittances at every slice step in elements (default: ``False``).

If this flag is enabled, the 3 eigenemittances of the 6D beam distribution are computed and written as diagnostics.
This flag is disabled by default to reduce computational cost.

.. py:method:: init_grids()
Initialize AMReX blocks/grids for domain decomposition & space charge mesh.
Expand Down

0 comments on commit 4f2d689

Please sign in to comment.