- Timestamp:
- Apr 6, 2009, 12:30:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/neutron_hp/src/G4NeutronHPChannel.cc
r819 r962 30 30 // 070523 bug fix for G4FPE_DEBUG on by A. Howard ( and T. Koi) 31 31 // 071031 bug fix T. Koi on behalf of A. Howard 32 // 081203 bug fix in Register method by T. Koi 32 33 // 33 34 #include "G4NeutronHPChannel.hh" … … 68 69 registerCount++; 69 70 G4int Z = G4lrint(theElement->GetZ()); 71 72 Z = Z-registerCount; 73 if ( registerCount > 5 ) throw G4HadronicException(__FILE__, __LINE__, "Channel: Do not know what to do with this material"); // for Elastic, Capture, Fission case 74 if ( Z < 1 ) return false; 75 /* 70 76 if(registerCount<5) 71 77 { 72 78 Z = Z-registerCount; 73 79 } 80 */ 74 81 //if(Z=theElement->GetZ()-5) throw G4HadronicException(__FILE__, __LINE__, "Channel: Do not know what to do with this material"); 75 82 // Bug fix by TK on behalf of AH … … 84 91 delete [] active; 85 92 active = new G4bool[niso]; 93 86 94 delete [] theFinalStates; 87 95 theFinalStates = new G4NeutronHPFinalState * [niso];
Note: See TracChangeset
for help on using the changeset viewer.