diff options
author | 2020-05-22 11:14:15 -0700 | |
---|---|---|
committer | 2020-05-22 11:14:15 -0700 | |
commit | 80901aa5075c49e26b3f79f747a949665fd7c2e5 (patch) | |
tree | 78a5250e529303fa25e9e542fd14771785221191 /Python/pywarpx/picmi.py | |
parent | e303439fccf613302780e3e669fa4ac581817529 (diff) | |
download | WarpX-80901aa5075c49e26b3f79f747a949665fd7c2e5.tar.gz WarpX-80901aa5075c49e26b3f79f747a949665fd7c2e5.tar.zst WarpX-80901aa5075c49e26b3f79f747a949665fd7c2e5.zip |
Fix DivE diagnostic in RZ (#1034)
* Added dump_rz_modes to picmi field diagnostic
* Fixed DivEFunctor for RZ
* In Diagnostics, write out RZ components of divE if requested
* Fix RZ component names in diagnostic files
* Fixed RZ spectral back transform, fixing DivE calculation
* In SpectralSolverRZ.H changed BL_PROFILE to WARPX_PROFILE
* Undid change of BL_PROFILE to WARPX_PROFILE in SpectralSolverRZ.H
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 be583b150..e21ffa032 100644 --- a/Python/pywarpx/picmi.py +++ b/Python/pywarpx/picmi.py @@ -635,6 +635,7 @@ class _WarpX_FieldDiagnostic(picmistandard.PICMI_FieldDiagnostic): self.format = kw.pop('warpx_format', 'plotfile') self.openpmd_backend = kw.pop('warpx_openpmd_backend', None) self.file_prefix = kw.pop('warpx_file_prefix', None) + self.dump_rz_modes = kw.pop('warpx_dump_rz_modes', None) def initialize_inputs(self): @@ -652,6 +653,7 @@ class _WarpX_FieldDiagnostic(picmistandard.PICMI_FieldDiagnostic): self.diagnostic.diag_type = 'Full' self.diagnostic.format = self.format self.diagnostic.openpmd_backend = self.openpmd_backend + self.diagnostic.dump_rz_modes = self.dump_rz_modes self.diagnostic.period = self.period self.diagnostic.diag_lo = self.lower_bound self.diagnostic.diag_hi = self.upper_bound |