Changeset 1347 for trunk/source/processes/hadronic/models/neutron_hp/src/G4NeutronHPDiscreteTwoBody.cc
- Timestamp:
- Dec 22, 2010, 3:52:27 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/neutron_hp/src/G4NeutronHPDiscreteTwoBody.cc
r962 r1347 30 30 //080612 Bug fix contribution from Benoit Pirard and Laurent Desorgher (Univ. Bern) #2,3 31 31 //080709 Bug fix Sampling Legendre expansion by T. Koi 32 //101110 Bug fix in MF=6, LAW=2 case; contribution from E. Mendoza, D. Cano-Ott (CIEMAT) 32 33 // 33 34 #include "G4NeutronHPDiscreteTwoBody.hh" … … 111 112 for(i=0;i<theCoeff[it].GetNumberOfPoly(); i++) 112 113 { 113 theStore.SetX(i, theCoeff[it].GetCoeff(i)); 114 theStore.SetY(i, theCoeff[it].GetCoeff(i)); 114 //101110 115 //theStore.SetX(i, theCoeff[it].GetCoeff(i)); 116 //theStore.SetY(i, theCoeff[it].GetCoeff(i)); 117 theStore.SetX(i/2, theCoeff[it].GetCoeff(i)); 118 theStore.SetY(i/2, theCoeff[it].GetCoeff(i+1)); 115 119 i++; 116 120 } … … 125 129 for(i=0;i<theCoeff[it].GetNumberOfPoly(); i++) 126 130 { 127 theStore.SetX(i, theCoeff[it].GetCoeff(i)); 128 theStore.SetY(i, theCoeff[it].GetCoeff(i)); 131 //101110 132 //theStore.SetX(i, theCoeff[it].GetCoeff(i)); 133 //theStore.SetY(i, theCoeff[it].GetCoeff(i)); 134 theStore.SetX(i/2, theCoeff[it].GetCoeff(i)); 135 theStore.SetY(i/2, theCoeff[it].GetCoeff(i+1)); 129 136 i++; 130 137 } … … 161 168 for(i=0;i<theCoeff[it-1].GetNumberOfPoly(); i++) 162 169 { 163 theBuff1.SetX(i, theCoeff[it-1].GetCoeff(i)); 164 theBuff1.SetY(i, theCoeff[it-1].GetCoeff(i)); 170 //101110 171 //theBuff1.SetX(i, theCoeff[it-1].GetCoeff(i)); 172 //theBuff1.SetY(i, theCoeff[it-1].GetCoeff(i)); 173 theBuff1.SetX(i/2, theCoeff[it-1].GetCoeff(i)); 174 theBuff1.SetY(i/2, theCoeff[it-1].GetCoeff(i+1)); 165 175 i++; 166 176 } … … 171 181 for(i=0;i<theCoeff[it].GetNumberOfPoly(); i++) 172 182 { 183 //theBuff2.SetX(i, theCoeff[it].GetCoeff(i)); 184 //theBuff2.SetY(i, theCoeff[it].GetCoeff(i)); 173 185 theBuff2.SetX(i, theCoeff[it].GetCoeff(i)); 174 theBuff2.SetY(i, theCoeff[it].GetCoeff(i ));186 theBuff2.SetY(i, theCoeff[it].GetCoeff(i+1)); 175 187 i++; 176 188 } … … 215 227 for(i=0;i<theCoeff[it-1].GetNumberOfPoly(); i++) 216 228 { 217 theBuff1.SetX(i, theCoeff[it-1].GetCoeff(i)); 218 theBuff1.SetY(i, theCoeff[it-1].GetCoeff(i)); 229 //101110 230 //theBuff1.SetX(i, theCoeff[it-1].GetCoeff(i)); 231 //theBuff1.SetY(i, theCoeff[it-1].GetCoeff(i)); 232 theBuff1.SetX(i/2, theCoeff[it-1].GetCoeff(i)); 233 theBuff1.SetY(i/2, theCoeff[it-1].GetCoeff(i+1)); 219 234 i++; 220 235 } … … 226 241 for(i=0;i<theCoeff[it].GetNumberOfPoly(); i++) 227 242 { 228 theBuff2.SetX(i, theCoeff[it].GetCoeff(i)); 229 theBuff2.SetY(i, theCoeff[it].GetCoeff(i)); 243 //101110 244 //theBuff2.SetX(i, theCoeff[it].GetCoeff(i)); 245 //theBuff2.SetY(i, theCoeff[it].GetCoeff(i)); 246 theBuff2.SetX(i/2, theCoeff[it].GetCoeff(i)); 247 theBuff2.SetY(i/2, theCoeff[it].GetCoeff(i+1)); 230 248 i++; 231 249 }
Note: See TracChangeset
for help on using the changeset viewer.