Skip to content

Commit

Permalink
Merge pull request #2584 from ax3l/doc-stabilityEnergyReducePlugins
Browse files Browse the repository at this point in the history
Docs: Note on Energy Reduce
  • Loading branch information
psychocoderHPC authored Apr 24, 2018
2 parents c3ceb3b + 6d47f85 commit abaac0b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/source/usage/plugins/energyFields.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,15 @@ The first row is a comment describing the columns:
0 2.5e+18 0 0 0 2.5e+18 0 0
100 2.5e+18 2.45e-22 2.26e-08 2.24e-08 2.5e+18 2.29e-08 2.30e-08
.. attention::

The output of this plugin computes a *sum over all cells* in a very naive implementation.
This can lead to significant errors due to the finite precision in floating-point numbers.
Do not expect the output to be precise to more than a few percent.
Do not expect the output to be deterministic due to the statistical nature of the implemented reduce operation.

Please see `this issue <https://github.com/ComputationalRadiationPhysics/picongpu/issues/523#issuecomment-70630415>`_ for a longer discussion and possible future implementations.

Example Visualization
^^^^^^^^^^^^^^^^^^^^^

Expand Down
9 changes: 9 additions & 0 deletions docs/source/usage/plugins/energyParticles.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@ Following the header, each line is the output of one time step.
The time step is given as first value.
The second value is the kinetic energy of all particles at that time step. And the last value is the total energy (kinetic + rest energy) of all particles at that time step.

.. attention::

The output of this plugin computes a *sum over all particles* in a very naive implementation.
This can lead to significant errors due to the finite precision in floating-point numbers.
Do not expect the output to be precise to more than a few percent.
Do not expect the output to be deterministic due to the statistical nature of the implemented reduce operation.

Please see `this issue <https://github.com/ComputationalRadiationPhysics/picongpu/issues/523#issuecomment-70630415>`_ for a longer discussion and possible future implementations.

Example Visualization
^^^^^^^^^^^^^^^^^^^^^

Expand Down

0 comments on commit abaac0b

Please sign in to comment.