diff options
author | 2021-12-20 18:39:08 -0800 | |
---|---|---|
committer | 2021-12-21 02:39:08 +0000 | |
commit | aafb6da2362374eb255eff450b846c4fec20ac5e (patch) | |
tree | 8a24908133d464a84aedd82d07ccc720808e8b6a /Examples/Tests/photon_pusher/analysis_photon_pusher.py | |
parent | 634a2833a7a13cffde77c5d3229e0566c327f096 (diff) | |
download | WarpX-aafb6da2362374eb255eff450b846c4fec20ac5e.tar.gz WarpX-aafb6da2362374eb255eff450b846c4fec20ac5e.tar.zst WarpX-aafb6da2362374eb255eff450b846c4fec20ac5e.zip |
Inputs: `geometry.dims` option (#2685)
* Docs: `geometry.dims` option
Add a new, required option to specify the geometry of an
inputs file at runtime.
* Check & Report Runtime Dims Mismatch
* Examples: add `geometry.dims`
* Deprecation Warning: `geometry.coord_sys`
* PICMI: `geometry.dims`
* Improve error message
sounds a bit better
* Improve Doc Description
Co-authored-by: Revathi Jambunathan <41089244+RevathiJambunathan@users.noreply.github.com>
Co-authored-by: Revathi Jambunathan <41089244+RevathiJambunathan@users.noreply.github.com>
Diffstat (limited to 'Examples/Tests/photon_pusher/analysis_photon_pusher.py')
-rwxr-xr-x | Examples/Tests/photon_pusher/analysis_photon_pusher.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Examples/Tests/photon_pusher/analysis_photon_pusher.py b/Examples/Tests/photon_pusher/analysis_photon_pusher.py index d9b330514..03c47b314 100755 --- a/Examples/Tests/photon_pusher/analysis_photon_pusher.py +++ b/Examples/Tests/photon_pusher/analysis_photon_pusher.py @@ -120,7 +120,7 @@ def generate(): f.write("amr.blocking_factor = 8\n") f.write("amr.max_grid_size = 8\n") f.write("amr.plot_int = 1\n") - f.write("geometry.coord_sys = 0\n") + f.write("geometry.dims = 3\n") f.write("boundary.field_lo = periodic periodic periodic\n") f.write("boundary.field_hi = periodic periodic periodic\n") f.write("geometry.prob_lo = -0.5e-6 -0.5e-6 -0.5e-6\n") |