############################################################################### # # # genericParticleSource.mac # # Example macro utilising the generic particle source # # # ############################################################################### # /IBD/on false # ## Neutron point source /gps/particle neutron /gps/position 0 0 0 /gps/direction 0 1 0 /gps/energy 0.1 eV ## Neutron volume source # /gps/particle neutron ##/gps/position 130 130 130 # /gps/pos/type Volume # /gps/shape Para # /gps/pos/centre 0 0 0 m # /gps/pos/halfx 0.07 m # /gps/pos/halfy 0.07 m # /gps/pos/halfz 0.07 m # /gps/ang/type cos # /gps/ang/mintheta 80 deg # /gps/ang/maxtheta 100 deg # /gps/ang/minphi 80 deg # /gps/ang/maxphi 100 deg # /gps/ene/type Lin # /gps/ene/min 10 keV # /gps/ene/max 100 keV # /gps/ene/gradient -10 # /gps/ene/intercept 1 /Solid/beamOn 100