Skip to content

Commit

Permalink
cld_steer.py: set SIM.gun.energy to None
Browse files Browse the repository at this point in the history
Otherwise it overwrites ` --gun.momentumMin/Max`
  • Loading branch information
Zehvogel committed Jun 28, 2024
1 parent 18f51c5 commit cb2e380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CLDConfig/cld_steer.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
## Setting a distribution will set isotrop = True
##
SIM.gun.distribution = None
SIM.gun.energy = 10000.0
SIM.gun.energy = None

## isotropic distribution for the particle gun
##
Expand Down

0 comments on commit cb2e380

Please sign in to comment.