Skip to content

Commit

Permalink
More CI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgrote committed Dec 24, 2023
1 parent b15605b commit a2335e8
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Examples/Tests/flux_injection/PICMI_inputs_1d.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
period = diagnostic_intervals,
warpx_particle_fields_to_plot = particle_diags,
write_dir = '.',
warpx_file_prefix = 'diags/openpmd')
warpx_file_prefix = 'Python_FluxInjection1D_plt')

part_diag1 = picmi.ParticleDiagnostic(name = 'diag1',
warpx_format = 'openpmd',
Expand Down Expand Up @@ -190,7 +190,7 @@ def calctemperature(species, mass, it):
T = mass/3.*(vxvx - vx*vx/nn1 + vyvy - vy*vy/nn1 + vzvz - vz*vz/nn1)*c**2/nn1
return T/e, info

ts = openpmd_viewer.OpenPMDTimeSeries('diags/openpmd')
ts = openpmd_viewer.OpenPMDTimeSeries('Python_FluxInjection1D_plt')

it = 100

Expand Down
44 changes: 43 additions & 1 deletion Regression/Checksum/benchmarks_json/FluxInjection1D.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,45 @@
{
"lev=0": {}
"lev=0": {
"Bx": 0.0,
"By": 0.0,
"Bz": 0.0,
"Ex": 0.0,
"Ey": 0.0,
"Ez": 715032615.4488308,
"jx": 72161051734.49242,
"jy": 65615033309.54175,
"jz": 300092832031.4731,
"nn_electrons": 2.000599e+18,
"nn_ions": 2.000466e+18,
"vx_electrons": 2293501881450.4956,
"vx_ions": 502924104311.663,
"vxvx_electrons": 39109782594.46333,
"vxvx_ions": 2131970951.163522,
"vy_electrons": 2279307654437.5996,
"vy_ions": 518875415059.6428,
"vyvy_electrons": 39159920648.07713,
"vyvy_ions": 2130682048.9164214,
"vz_electrons": 60831305400920.04,
"vz_ions": 67141660990976.08,
"vzvz_electrons": 41053265018.51221,
"vzvz_ions": 4385416027.5459175
},
"electrons": {
"particle_position_x": 0.0,
"particle_position_y": 0.0,
"particle_position_z": 0.2001403569175398,
"particle_momentum_x": 6.094968375386245e-18,
"particle_momentum_y": 6.0992116353639365e-18,
"particle_momentum_z": 6.2442310356044224e-18,
"particle_weight": 2.000599e+18
},
"ions": {
"particle_position_x": 0.0,
"particle_position_y": 0.0,
"particle_position_z": 0.20007218138030863,
"particle_momentum_x": 2.613136135281151e-17,
"particle_momentum_y": 2.6115099096777785e-17,
"particle_momentum_z": 3.883692797460859e-17,
"particle_weight": 2.000466e+18
}
}
1 change: 1 addition & 0 deletions Regression/WarpX-tests.ini
Original file line number Diff line number Diff line change
Expand Up @@ -794,6 +794,7 @@ compileTest = 0
doVis = 0
compareParticles = 1
particleTypes = electrons ions
outputFile = Python_FluxInjection1D_plt
analysisRoutine = Examples/analysis_default_openpmd_regression.py

[galilean_2d_psatd]
Expand Down

0 comments on commit a2335e8

Please sign in to comment.