aboutsummaryrefslogtreecommitdiff
path: root/Docs/source/running_cpp
diff options
context:
space:
mode:
authorGravatar Luca Fedeli <luca.fedeli@cea.fr> 2019-10-25 11:30:19 +0200
committerGravatar Luca Fedeli <luca.fedeli@cea.fr> 2019-10-25 11:30:19 +0200
commite743d8e3bb83a8064268143e87505a2f25152f6d (patch)
treef138f04e2e7c9bed9578b6f00c2804114bd9f769 /Docs/source/running_cpp
parent84ef962d364b10dafe67826c0a9001d691d1eb01 (diff)
parent711d85d841792f73cb308cf3e73eaf99ae702ee0 (diff)
downloadWarpX-e743d8e3bb83a8064268143e87505a2f25152f6d.tar.gz
WarpX-e743d8e3bb83a8064268143e87505a2f25152f6d.tar.zst
WarpX-e743d8e3bb83a8064268143e87505a2f25152f6d.zip
Merge remote-tracking branch 'upstream/dev' into qed_bw_qs_factory_class
Diffstat (limited to 'Docs/source/running_cpp')
-rw-r--r--Docs/source/running_cpp/parameters.rst11
1 files changed, 8 insertions, 3 deletions
diff --git a/Docs/source/running_cpp/parameters.rst b/Docs/source/running_cpp/parameters.rst
index e77ca553e..59bfbb14e 100644
--- a/Docs/source/running_cpp/parameters.rst
+++ b/Docs/source/running_cpp/parameters.rst
@@ -608,8 +608,6 @@ Numerics and algorithms
- ``direct``: simpler current deposition algorithm, described in
the section :doc:`../theory/picsar_theory`. Note that this algorithm is not strictly charge-conserving.
- If ``algo.current_deposition`` is not specified, the default is ``esirkepov``.
-
* ``algo.charge_deposition`` (`string`, optional)
The algorithm for the charge density deposition. Available options are:
@@ -619,8 +617,15 @@ Numerics and algorithms
* ``algo.field_gathering`` (`string`, optional)
The algorithm for field gathering. Available options are:
- - ``standard``: gathers directly from the grid points (either staggered
+ - ``energy-conserving``: gathers directly from the grid points (either staggered
or nodal gridpoints depending on ``warpx.do_nodal``).
+ - ``momentum-conserving``: first average the fields from the grid points to
+ the nodes, and then gather from the nodes.
+
+ If ``algo.field_gathering`` is not specified, the default is ``energy-conserving``.
+ If ``warpx.do_nodal`` is ``true``, then ``energy-conserving`` and ``momentum-conserving``
+ are equivalent.
+
* ``algo.particle_pusher`` (`string`, optional)
The algorithm for the particle pusher. Available options are: