######################################## # # define scoring mesh # /score/create/boxMesh boxMesh_1 # /score/mesh/boxSize 100. 100. 100. cm /score/mesh/nBin 1 1 100 # /score/quantity/cellFlux nflux /score/filter/particle neutronFilter neutron # /score/close # /score/list # ######################################## # /vis/disable /control/verbose 2 /run/verbose 1 #######/event/verbose 1 #######/tracking/verbose 1 /gun/particle neutron /gun/energy 200. MeV /run/beamOn 2000 /vis/enable # ######################################## # # drawing projections # /score/drawProjection boxMesh_1 nflux # ######################################## # # drawing slices # /vis/scene/create /vis/sceneHandler/attach scene-2 /score/colorMap/setMinMax ! 0. 800. /control/loop drawSlice.mac iColumn 0 29 7 # ######################################## # # Dump scores to a file # /score/dumpQuantityToFile boxMesh_1 nflux nflux.txt # #