Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix unstable Python_particle_attr_access CI tests #2766

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
also shrink boundaries in which particles are injected for good measure
  • Loading branch information
roelof-groenewald committed Jan 20, 2022
commit 40a23f848d66508b5d1b253ff3d7c681061a3af8
4 changes: 2 additions & 2 deletions Examples/Tests/ParticleDataPython/PICMI_inputs_2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@
def add_particles():

nps = 10 * (my_id + 1)
x = np.random.rand(nps) * 0.03
x = np.linspace(0.005, 0.025, nps)
y = np.zeros(nps)
z = np.random.random(nps) * 0.03
z = np.linspace(0.005, 0.025, nps)
ux = np.random.normal(loc=0, scale=1e3, size=nps)
uy = np.random.normal(loc=0, scale=1e3, size=nps)
uz = np.random.normal(loc=0, scale=1e3, size=nps)
Expand Down