diff options
author | 2019-04-24 16:03:12 -0700 | |
---|---|---|
committer | 2019-04-24 16:03:12 -0700 | |
commit | 045fcedfe6fe54715514c4f02e91f0c2237380b8 (patch) | |
tree | 34886be10f58dafe1960e1f336f50d8160b15061 /Docs/source/running_cpp | |
parent | 2394d3cec39d61ca40d8f40a0ea9791c080c16a4 (diff) | |
parent | 5b9634c436cc1917be7cd59990ee305ced5d59c9 (diff) | |
download | WarpX-045fcedfe6fe54715514c4f02e91f0c2237380b8.tar.gz WarpX-045fcedfe6fe54715514c4f02e91f0c2237380b8.tar.zst WarpX-045fcedfe6fe54715514c4f02e91f0c2237380b8.zip |
Merge pull request #69 from ECP-WarpX/RZgeometry
R zgeometry
Diffstat (limited to 'Docs/source/running_cpp')
-rw-r--r-- | Docs/source/running_cpp/parameters.rst | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Docs/source/running_cpp/parameters.rst b/Docs/source/running_cpp/parameters.rst index 4b1496ed4..393c19980 100644 --- a/Docs/source/running_cpp/parameters.rst +++ b/Docs/source/running_cpp/parameters.rst @@ -44,10 +44,14 @@ Setting up the field mesh For each direction, use 1 for periodic conditions, 0 otherwise. +* ``geometry.coord_sys`` (`integer`) optional (default `0`) + Coordinate system used by the simulation. 0 for Cartesian, 1 for cylindrical. + * ``geometry.prob_lo`` and ``geometry.prob_hi`` (`2 floats in 2D`, `3 integers in 3D`; in meters) The extent of the full simulation box. This box is rectangular, and thus its extent is given here by the coordinates of the lower corner (``geometry.prob_lo``) and - upper corner (``geometry.prob_hi``). + upper corner (``geometry.prob_hi``). The first axis of the coordinates is x (or r with cylindrical) + and the last is z. * ``warpx.fine_tag_lo`` and ``warpx.fine_tag_hi`` (`2 floats in 2D`, `3 integers in 3D`; in meters) optional **When using static mesh refinement with 1 level**, the extent of the refined patch. @@ -163,6 +167,10 @@ Particle initialization ``electrons.density_function(x,y,z) = "n0+n0*x**2*1.e12"`` where ``n0`` is a user-defined constant, see above. +* ``<species_name>.radially_weighted`` (`bool`) optional (default `true`) + Whether particle's weight is varied with their radius. This only applies to cylindrical geometry. + The only valid value is true. + * ``<species_name>.momentum_distribution_type`` (`string`) Distribution of the normalized momentum (`u=p/mc`) for this species. The options are: |