Skip to content

Commit

Permalink
adding fixed random seed to DD_3D_intraspecies fusion regression test.
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinRayAngus committed Jul 11, 2024
1 parent 0d6c5eb commit f1979a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

sigma_th = 2.603e-18
error = np.abs(sigma-sigma_th)/sigma_th
tolerance = 1e-2
tolerance = 2e-2
print('error = ', error)
print('tolerance = ', tolerance)
assert error < tolerance
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
# plasma simulations. Journal of Computational Physics, 388, pp.439-453.
# DOI: https://doi.org/10.1016/j.jcp.2019.03.020

warpx.random_seed = 1034958209

# algo
algo.particle_shape = 3

Expand Down

0 comments on commit f1979a0

Please sign in to comment.