aboutsummaryrefslogtreecommitdiff
path: root/Examples/Tests/photon_pusher/analysis_photon_pusher.py
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/Tests/photon_pusher/analysis_photon_pusher.py')
-rwxr-xr-xExamples/Tests/photon_pusher/analysis_photon_pusher.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Examples/Tests/photon_pusher/analysis_photon_pusher.py b/Examples/Tests/photon_pusher/analysis_photon_pusher.py
index 92d1e95f7..7518bd5ad 100755
--- a/Examples/Tests/photon_pusher/analysis_photon_pusher.py
+++ b/Examples/Tests/photon_pusher/analysis_photon_pusher.py
@@ -149,7 +149,7 @@ def generate():
f.write('{}.injection_style = "SingleParticle"\n'.format(name))
f.write("{}.single_particle_pos = {} {} {}\n".
format(name, init_pos[0], init_pos[1], init_pos[2]))
- f.write("{}.single_particle_vel = {} {} {}\n".
+ f.write("{}.single_particle_u = {} {} {}\n".
format(name, velx, vely, velz))
f.write("{}.single_particle_weight = 1.0\n".format(name))
f.write("\n".format(name))