WarpX 22.04+: Fix RZ Test (#30185)
In WarpX 22.04, we introduced the openPMD `thetaMode` for fields in RZ geometry. That means we need to name the fields differently than the reconstructured Cartesian slice that we default to in plotfiles.
This commit is contained in:
parent
a43a633b2a
commit
778eee1579
@ -192,6 +192,9 @@ def _get_input_options(self, post_install):
|
||||
# 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):
|
||||
|
Loading…
Reference in New Issue
Block a user