diff options
author | 2020-01-03 15:06:39 -0800 | |
---|---|---|
committer | 2020-01-03 15:06:39 -0800 | |
commit | d20a7b866fc2c65519da587b305ff20b3d235ca4 (patch) | |
tree | 0b7e065ecb7804b23dfd7cb77669ba89a70bb079 /Python/pywarpx/picmi.py | |
parent | 4d4ec41f5637e9ee26014d4db9536bd740a1c666 (diff) | |
download | WarpX-d20a7b866fc2c65519da587b305ff20b3d235ca4.tar.gz WarpX-d20a7b866fc2c65519da587b305ff20b3d235ca4.tar.zst WarpX-d20a7b866fc2c65519da587b305ff20b3d235ca4.zip |
In picmi diagnostics, added plot_finepatch etc to list
Diffstat (limited to 'Python/pywarpx/picmi.py')
-rw-r--r-- | Python/pywarpx/picmi.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Python/pywarpx/picmi.py b/Python/pywarpx/picmi.py index a65312bb7..c05bce211 100644 --- a/Python/pywarpx/picmi.py +++ b/Python/pywarpx/picmi.py @@ -633,6 +633,16 @@ class FieldDiagnostic(picmistandard.PICMI_FieldDiagnostic): pywarpx.warpx.add_field_to_plot('divE') elif dataname == 'divb': pywarpx.warpx.add_field_to_plot('divB') + elif dataname == 'costs': + pywarpx.warpx.plot_costs = 1 + elif dataname == 'raw_fields': + self.plot_raw_fields = 1 + elif dataname == 'raw_fields_guards': + self.plot_raw_fields_guards = 1 + elif dataname == 'finepatch': + self.plot_finepatch = 1 + elif dataname == 'crsepatch': + self.plot_crsepatch = 1 pywarpx.warpx.plot_raw_fields = self.plot_raw_fields pywarpx.warpx.plot_raw_fields_guards = self.plot_raw_fields_guards |