Skip to content

Commit

Permalink
fix CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderSinn committed Dec 17, 2023
1 parent 6110695 commit e596b08
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
5 changes: 2 additions & 3 deletions examples/laser/analysis_laser_vacuum.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,8 @@
A0 = np.zeros(len(ts1.iterations))
Z = np.zeros(len(ts1.iterations))
for iteration in ts1.iterations:
F1, m1 = ts1.get_field(iteration=iteration, field='laser_real')
F2, m2 = ts1.get_field(iteration=iteration, field='laser_imag')
a_abs = np.abs(F1+1j*F2)
F, m1 = ts1.get_field(iteration=iteration, field='laserEnvelope')
a_abs = np.abs(F)
W0[iteration] = 2.*np.sqrt(np.sum(a_abs**2*m1.x**2)/np.sum(a_abs**2))
A0[iteration] = 2.*np.max(a_abs)
Z[iteration] = ts1.current_t*scc.c
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
"jy": 11069.842800964,
"jy_beam": 0.0,
"jz_beam": 0.0,
"laser_imag": 0.00080302022219427,
"laser_real": 60820.320200801,
"laserEnvelope": 60820.320200801,
"rhomjz": 29849.622242832
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
"jy": 1.5015192828127e+17,
"jy_beam": 0.0,
"jz_beam": 0.0,
"laser_imag": 80.30189635727,
"laser_real": 60820.320200801,
"laserEnvelope": 60820.474227637,
"rhomjz": 1350541029.8265
}
}
3 changes: 1 addition & 2 deletions tests/checksum/benchmarks_json/production.SI.2Rank_lwfa.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
"jy": 59255897.782443,
"jy_beam": 0.0,
"jz_beam": 0.0,
"laser_imag": 24.919215184694,
"laser_real": 173.25896257113,
"laserEnvelope": 175.43495692727,
"rhomjz": 897371.58141288
}
}

0 comments on commit e596b08

Please sign in to comment.