diff options
Diffstat (limited to 'Docs/source/running_cpp')
-rw-r--r-- | Docs/source/running_cpp/parameters.rst | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/Docs/source/running_cpp/parameters.rst b/Docs/source/running_cpp/parameters.rst index 17b6a1c5d..30687244e 100644 --- a/Docs/source/running_cpp/parameters.rst +++ b/Docs/source/running_cpp/parameters.rst @@ -70,6 +70,16 @@ Setting up the field mesh This patch is rectangular, and thus its extent is given here by the coordinates of the lower corner (``warpx.fine_tag_lo``) and upper corner (``warpx.fine_tag_hi``). +* ``warpx.n_current_deposition_buffer`` (`integer`) + When using mesh refinement: the particles that are located inside + a refinement patch, but within ``n_current_deposition_buffer`` cells of + the edge of this patch, will deposit their charge and current to the + lower refinement level, instead of depositing to the refinement patch + itself. See the section :doc:`../../theory/amr` for more details. + If this variable is not explicitly set in the input script, + ``n_current_deposition_buffer`` is automatically set so as to be large + enough to hold the particle shape, on the fine grid + * ``warpx.n_field_gather_buffer`` (`integer`; 0 by default) When using mesh refinement: the particles that are located inside a refinement patch, but within ``n_field_gather_buffer`` cells of @@ -77,14 +87,10 @@ Setting up the field mesh level, instead of gathering the fields from the refinement patch itself. This avoids some of the spurious effects that can occur inside the refinement patch, close to its edge. See the section - :doc:`../../theory/amr` for more details. - -* ``warpx.n_current_deposition_buffer`` (`integer`) - When using mesh refinement: the particles that are located inside - a refinement patch, but within ``n_current_deposition_buffer`` cells of - the edge of this patch, will deposit their charge and current to the - lower refinement level, instead of depositing to the refinement patch - itself. See the section :doc:`../../theory/amr` for more details. + :doc:`../../theory/amr` for more details. If this variable is not + explicitly set in the input script, ``n_field_gather_buffer`` is + automatically set so that it is one cell larger than + ``n_current_deposition_buffer``, on the fine grid. * ``particles.deposit_on_main_grid`` (`list of strings`) When using mesh refinement: the particle species whose name are included |