- 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/G4NeutronHPFissionData.cc
r819 r962 30 30 // 070618 fix memory leaking by T. Koi 31 31 // 071002 enable cross section dump by T. Koi 32 // 081024 G4NucleiPropertiesTable:: to G4NucleiProperties:: 33 // 081124 Protect invalid read which caused run time errors by T. Koi 32 34 33 35 #include "G4NeutronHPFissionData.hh" … … 110 112 G4cout << (*theElementTable)[i]->GetName() << G4endl; 111 113 114 if ( (*((*theCrossSections)(i))).GetVectorLength() == 0 ) 115 { 116 G4cout << "The cross-section data of the fission of this element is not available." << G4endl; 117 G4cout << G4endl; 118 continue; 119 } 120 112 121 G4int ie = 0; 113 122 … … 130 139 } 131 140 132 #include "G4NucleiProperties Table.hh"141 #include "G4NucleiProperties.hh" 133 142 134 143 G4double G4NeutronHPFissionData:: … … 152 161 G4double theZ = anE->GetZ(); 153 162 G4double eleMass; 154 eleMass = ( G4NucleiProperties Table::GetNuclearMass(static_cast<G4int>(theZ+eps), static_cast<G4int>(theA+eps))163 eleMass = ( G4NucleiProperties::GetNuclearMass( static_cast<G4int>(theA+eps) , static_cast<G4int>(theZ+eps) ) 155 164 ) / G4Neutron::Neutron()->GetPDGMass(); 156 165
Note: See TracChangeset
for help on using the changeset viewer.