aboutsummaryrefslogtreecommitdiff
path: root/Docs/source/running_cpp
diff options
context:
space:
mode:
authorGravatar Luca Fedeli <luca.fedeli@cea.fr> 2019-10-25 12:09:24 +0200
committerGravatar Luca Fedeli <luca.fedeli@cea.fr> 2019-10-25 12:09:24 +0200
commit06ff9be518f86d73b7fd8056676e9a6c49b83f08 (patch)
tree18302f92609a4d6101d9a8088312e08faa265a63 /Docs/source/running_cpp
parente723d2f78b40dae713fabfebe15fdecbcd4e4296 (diff)
parentd37100ff5f6eafd30167c463ca107dff10dbd9f4 (diff)
downloadWarpX-06ff9be518f86d73b7fd8056676e9a6c49b83f08.tar.gz
WarpX-06ff9be518f86d73b7fd8056676e9a6c49b83f08.tar.zst
WarpX-06ff9be518f86d73b7fd8056676e9a6c49b83f08.zip
Merge branch 'qed_bw_qs_factory_class' into qed_evolve_optical_depth
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: