From: Lindley Winslow (LAWinslow@lbl.gov)
Date: Wed Dec 13 2006 - 19:48:29 CET
I am getting and Error when I try to process the files associated
with the USRYIELD detector defined on line 68 of my attached input file.
* dN_neutron/dE/dOmega in lab frame.
USRYIELD 1401.0 NEUTRON -52.0 -2.0 -1.0
1.nuSpecB
USRYIELD 1. 0.01 990.3.14159265 0.0
3. &
The error is:
Subscript out of range on file line 331, procedure usysuw.f/MAIN.
Attempt to access the 701-th element of variable accumg.
I think from looking at the usysuw.f code that I have simply gone
over the maximum number of allowed bins defined by this parameter.
PARAMETER ( NMXEBN = 600 )
Is it safe to simply expand the maximum number of bins?
Thank you,
Lindley
P.S. Thank you Alfredo my previous problem was fixed in the
definition of LIQUIDS.
--Apple-Mail-3-897431864
Content-Transfer-Encoding: 7bit
Content-Type: application/octet-stream;
x-unix-mode=0640;
name=cylinderLSExperiment.inp
Content-Disposition: attachment;
filename=cylinderLSExperiment.inp
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
TITLE
Simple Muon Spallation Monte-Carlo in LS target.
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7...+...8
BEAM 2.85E+02 MUON-
BEAMPOS 0.0 0.0 -50.0
*
GEOBEGIN COMBNAME
0 0 A simple LS target inside vacuum
RPP body1 -5000000.0 +5000000.0 -5000000.0 +5000000.0 -5000000.0 +5000000.0
RPP body2 -1000000.0 +1000000.0 -1000000.0 +1000000.0 -100.0 +1000000.0
RCC body3 0.0 0.0 0.0 0.0 0.0 10000.0 500.0
* plane to separate the upstream and downstream part of the target
*XYP body4 2.5
END
* black hole
regBH1 5 +body1 -body2 -body3
* vacuum around
regVA2 5 +body2 -body3
* LS target 1st half
regBE3 5 +body3
* LS target 2nd half
*regBE4 5 +body3 -body4
END
* The next is an example of geometry debugging:
*GEOEND 150. 75. 220. 30. 0. -220.DEBUG
*GEOEND 120. 1. 110. 0. 0. 0. &
*STOP
* Normal End.
GEOEND
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
* Here defines materials and Compounds for LS
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+...
*1) Hydrogen
MATERIAL 1.0 1.00794 0.0000837 3.0 1.0 HYDROGEN
*2) Carbon
MATERIAL 6.0 12.0107 2.00 6.0 CARBON
*3) Oxygen
MATERIAL 8.0 15.9994 0.00133 8.0 OXYGEN
* liquid scintillator
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+...
MATERIAL 0.0 0.0 0.88 26.0 0.0 0. LIQUIDS
COMPOUND +0.43 6.0 +0.57 3.0 0.0 0. LIQUIDS
* LS target, 1st and 2nd half
ASSIGNMAT LIQUIDS regBE3
* regBE4
* External Black Hole
ASSIGNMAT BLCKHOLE regBH1
* Vacuum
ASSIGNMAT VACUUM regVA2
* Turn on the Physics Model.
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
PHOTONUC 1.0 0.0 0.0 3.0 6.0 0.
EVENTYPE 0.0 0.0 2.0 0.0 0.0 0.DPMJET
PHYSICS 3.0 EVAPORAT
PHYSICS 1.0 COALESCE
*
* Activates Residual Nuclei scoring
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+...
RESNUCLEI 3.0 -34.0 regBE3
RESNUCLEI 1.0 -35.0 regBE3
RESNUCLEI 2.0 -36.0 regBE3
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+...
* dN_neutron/dE/dOmega in lab frame.
USRYIELD 1401.0 NEUTRON -51.0 -2.0 -1.0 1.nuSpecF
USRYIELD 2. 0. 200.3.14159265 0.0 3. &
* dN_neutron/dE/dOmega in lab frame.
USRYIELD 1401.0 NEUTRON -52.0 -2.0 -1.0 1.nuSpecB
USRYIELD 1. 0.01 990.3.14159265 0.0 3. &
* dN_neutron/dE/dOmega in lab frame.
USRYIELD 114.0 NEUTRON -53.0 -2.0 -1.0 1.nuSpecA
USRYIELD 3.14159265 0.0 300 2.0 0.0 3. &
* dN_neutron/dE/dOmega in lab frame.
USRYIELD 1401.0 PROTON -56.0 -2.0 -1.0 1.proSpec
USRYIELD 2. 0. 200.3.14159265 0.0 3. &
* dN_neutron/dE/dOmega in lab frame.
USRYIELD 1401.0 PION+ -57.0 -2.0 -1.0 1.pplSpec
USRYIELD 2. 0. 200.3.14159265 0.0 3. &
* dN_neutron/dE/dOmega in lab frame.
USRYIELD 1401.0 PION- -58.0 -2.0 -1.0 1.pmnSpec
USRYIELD 2. 0. 200.3.14159265 0.0 3. &
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7...+...8
USRTRACK 1.0 NEUTRON -61.0 regBE3 1.0 200.nuTrckU
USRTRACK 2. 0. &
USRTRACK 1.0 NEUTRON 62.0 regBE3 1.0 200.nuTrckF
USRTRACK 2. 0. &
USRTRACK 1.0 ELECTRON -63.0 regBE3 1.0 200.eminTrck
USRTRACK 2. 0. &
USRTRACK 1.0 POSITRON -64.0 regBE3 1.0 200.eposTrck
USRTRACK 2. 0. &
USRTRACK 1.0 PHOTON -65.0 regBE3 1.0 200.photTrck
USRTRACK 2. 0. &
USRTRACK 1.0 PROTON -66.0 regBE3 1.0 200.protTrck
USRTRACK 2. 0. &
USRTRACK 1.0 PION+ -67.0 regBE3 1.0 200.piplTrck
USRTRACK 2. 0. &
USRTRACK 1.0 PION- -68.0 regBE3 1.0 200.pimnTrck
USRTRACK 2. 0. &
* Dump all particles.
* Notice slightly different bar to get formatting right.
USERDUMP 200.0 37.0 1.0 1.0 SRCEPART
* This one is from USDRAW
OPEN 71.0
usrdraw.txt
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
RANDOMIZE 1.0
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
START 5000.0
STOP
--Apple-Mail-3-897431864--
This archive was generated by hypermail 2.1.6 : Thu Dec 14 2006 - 00:03:41 CET