summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/warpx/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/warpx/package.py b/var/spack/repos/builtin/packages/warpx/package.py
index e9802e4619..a4a5e6755b 100644
--- a/var/spack/repos/builtin/packages/warpx/package.py
+++ b/var/spack/repos/builtin/packages/warpx/package.py
@@ -192,6 +192,9 @@ class Warpx(CMakePackage):
# test openPMD output if compiled in
if '+openpmd' in spec:
cli_args.append('diag1.format=openpmd')
+ # RZ: New openPMD thetaMode output
+ if dims == 'rz' and spec.satisfies('@22.04:'):
+ cli_args.append('diag1.fields_to_plot=Er Et Ez Br Bt Bz jr jt jz rho')
return cli_args
def check(self):