From 80901aa5075c49e26b3f79f747a949665fd7c2e5 Mon Sep 17 00:00:00 2001 From: David Grote Date: Fri, 22 May 2020 11:14:15 -0700 Subject: 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 --- Python/pywarpx/picmi.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Python/pywarpx/picmi.py') 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 -- cgit v1.2.3