diff options
author | 2022-06-24 00:20:19 -0700 | |
---|---|---|
committer | 2022-06-24 00:20:19 -0700 | |
commit | f8cf3bc6276aab1d66b32a383c2021592676d69d (patch) | |
tree | 923cac9f50a5d227785dfa7e2547159571b905bf /Python/pywarpx/picmi.py | |
parent | 6be401a3c7322e64efc91a89bf9644bca83f2db9 (diff) | |
download | WarpX-f8cf3bc6276aab1d66b32a383c2021592676d69d.tar.gz WarpX-f8cf3bc6276aab1d66b32a383c2021592676d69d.tar.zst WarpX-f8cf3bc6276aab1d66b32a383c2021592676d69d.zip |
Added `none` as an option for fields_to_plot (#2419)
* Added `none` as an option for fields_to_plot
* Added CI test case
* Further updates, for picmi and CI tests
* Skip the call to amrex::WriteMultiLevelPlotfile when writing no fields
* Now clears m_varnames_fields
* Don't allocate m_mf_output if no varnames
* Updated WarpX-tests.ini
Diffstat (limited to 'Python/pywarpx/picmi.py')
-rw-r--r-- | Python/pywarpx/picmi.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/pywarpx/picmi.py b/Python/pywarpx/picmi.py index bb50ed42d..a79a2d7a1 100644 --- a/Python/pywarpx/picmi.py +++ b/Python/pywarpx/picmi.py @@ -1243,6 +1243,8 @@ class FieldDiagnostic(picmistandard.PICMI_FieldDiagnostic): self.plot_finepatch = 1 elif dataname == 'crsepatch': self.plot_crsepatch = 1 + elif dataname == 'none': + fields_to_plot = set(('none',)) # --- Convert the set to a sorted list so that the order # --- is the same on all processors. |