aboutsummaryrefslogtreecommitdiff
path: root/Docs/source/running_cpp
diff options
context:
space:
mode:
authorGravatar Remi Lehe <remi.lehe@normalesup.org> 2019-07-29 15:59:52 -0700
committerGravatar GitHub <noreply@github.com> 2019-07-29 15:59:52 -0700
commit8b0696071effe2df89ff40f3d08ffb8b8c8eb510 (patch)
treed63576a3b0ed5551432dcfae3439be097160ff5a /Docs/source/running_cpp
parent1df21d2336362bcdda36547167ed4da3cb58ac91 (diff)
parentd6fa86df7d4c1ab40aad92798e2e49fbee040013 (diff)
downloadWarpX-8b0696071effe2df89ff40f3d08ffb8b8c8eb510.tar.gz
WarpX-8b0696071effe2df89ff40f3d08ffb8b8c8eb510.tar.zst
WarpX-8b0696071effe2df89ff40f3d08ffb8b8c8eb510.zip
Merge pull request #244 from MaxThevenet/choose_fields
Choose fields and components in plotfiles
Diffstat (limited to 'Docs/source/running_cpp')
-rw-r--r--Docs/source/running_cpp/parameters.rst16
1 files changed, 6 insertions, 10 deletions
diff --git a/Docs/source/running_cpp/parameters.rst b/Docs/source/running_cpp/parameters.rst
index c159509b4..7b2d2c0e6 100644
--- a/Docs/source/running_cpp/parameters.rst
+++ b/Docs/source/running_cpp/parameters.rst
@@ -723,14 +723,12 @@ Diagnostics and output
* ``amr.plot_file`` (`string`)
Root for output file names. Supports sub-directories. Default `diags/plotfiles/plt`
-* ``warpx.plot_J_field`` (`0` or `1` optional; default `1`)
- Whether to plot the current density.
-
-* ``warpx.plot_E_field`` (`0` or `1` optional; default `1`)
- Whether to plot the electric field.
-
-* ``warpx.plot_B_field`` (`0` or `1` optional; default `1`)
- Whether to plot the magnetic field.
+* ``warpx.fields_to_plot`` (`list of strings`)
+ Fields written to plotfiles. Possible values: ``Ex`` ``Ey`` ``Ez``
+ ``Bx`` ``By`` ``Bz`` ``jx`` ``jy`` ``jz`` ``part_per_cell`` ``rho``
+ ``F`` ``part_per_grid`` ``part_per_proc`` ``divE`` ``divB``.
+ Default is
+ ``warpx_fields_to_plot = Ex Ey Ez Bx By Bz jx jy jz part_per_cell``.
* ``slice.dom_lo`` and ``slice.dom_hi`` (`2 floats in 2D`, `3 floats in 3D`; in meters similar to the units of the simulation box.)
The extent of the slice are defined by the co-ordinates of the lower corner (``slice.dom_lo``) and upper corner (``slice.dom_hi``). The slice could be 1D, 2D, or 3D, aligned with the co-ordinate axes and the first axis of the coordinates is x. For example: if for a 3D simulation, an x-z slice is to be extracted at y = 0.0, then the y-value of slice.dom_lo and slice.dom_hi must be equal to 0.0
@@ -743,8 +741,6 @@ Diagnostics and output
The number of PIC cycles inbetween two consecutive data dumps for the slice. Use a
negative number to disable slice generation and slice data dumping.
-
-
Checkpoints and restart
-----------------------
WarpX supports checkpoints/restart via AMReX.