aboutsummaryrefslogtreecommitdiff
path: root/Docs/source/running_cpp
diff options
context:
space:
mode:
authorGravatar MaxThevenet <mthevenet@lbl.gov> 2019-05-02 11:14:19 -0700
committerGravatar GitHub <noreply@github.com> 2019-05-02 11:14:19 -0700
commit341cd1b2af8ae96f261f7979c1dcf126f424cf60 (patch)
tree88d43e66dc8b099819fc4c04cec417be27c0df91 /Docs/source/running_cpp
parent51f550982f784ad30910cd16e5525ae7753f1d6c (diff)
parenta8449e8c06bc42a748ff69187e2ececc7f796a3d (diff)
downloadWarpX-341cd1b2af8ae96f261f7979c1dcf126f424cf60.tar.gz
WarpX-341cd1b2af8ae96f261f7979c1dcf126f424cf60.tar.zst
WarpX-341cd1b2af8ae96f261f7979c1dcf126f424cf60.zip
Merge pull request #112 from ECP-WarpX/perfect_mirror
Perfect mirrors
Diffstat (limited to 'Docs/source/running_cpp')
-rw-r--r--Docs/source/running_cpp/parameters.rst19
1 files changed, 19 insertions, 0 deletions
diff --git a/Docs/source/running_cpp/parameters.rst b/Docs/source/running_cpp/parameters.rst
index 505d9b31d..95180d9dc 100644
--- a/Docs/source/running_cpp/parameters.rst
+++ b/Docs/source/running_cpp/parameters.rst
@@ -373,6 +373,25 @@ Laser initialization
Temporal chirp at focus.
See definition in Akturk et al., Opt Express, vol 12, no 19 (2014).
+* ``warpx.num_mirrors`` (`int`) optional (default `0`)
+ Users can input perfect mirror condition inside the simulation domain.
+ The number of mirrors is given by ``warpx.num_mirrors``. The mirrors are
+ orthogonal to the `z` direction. The following parameters are required
+ when ``warpx.num_mirrors`` is >0.
+
+* ``warpx.mirror_z`` (list of `float`) required if ``warpx.num_mirrors>0``
+ ``z`` location of the front of the mirrors.
+
+* ``warpx.mirror_z_width`` (list of `float`) required if ``warpx.num_mirrors>0``
+ ``z`` width of the mirrors.
+
+* ``warpx.mirror_z_npoints`` (list of `int`) required if ``warpx.num_mirrors>0``
+ In the boosted frame, depending on `gamma_boost`, ``warpx.mirror_z_width``
+ can be smaller than the cell size, so that the mirror would not work. This
+ parameter is the minimum number of points for the mirror. If
+ ``mirror_z_width < dz/cell_size``, the upper bound of the mirror is increased
+ so that it contains at least ``mirror_z_npoints``.
+
Numerics and algorithms
-----------------------