Import Geant4 11.3.0.beta source tree
This commit is contained in:
@@ -6,6 +6,9 @@ It must **not** be used as a substitute for writing good git commit messages!
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
## 2024-02-12 Gabriele Cosmo (hadr-fission-V11-02-00)
|
||||
- G4FissLib: fixed compilation warning on gcc when LTO settings are enabled.
|
||||
|
||||
## 2022-11-26 Gabriele Cosmo (hadr-fission-V11-00-03)
|
||||
- Fixed compilation warnings for implicit type conversions on macOS/XCode 14.1.
|
||||
|
||||
|
||||
@@ -146,7 +146,7 @@ class G4FissLib : public G4HadronicInteraction
|
||||
G4double* xSec;
|
||||
G4ParticleHPChannel* theFission;
|
||||
G4String dirName;
|
||||
G4int numEle;
|
||||
std::size_t numEle;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -73,12 +73,11 @@ G4FissLib::G4FissLib()
|
||||
dirName = G4FindDataDir("G4NEUTRONHPDATA");
|
||||
G4String tString = "/Fission/";
|
||||
dirName = dirName + tString;
|
||||
numEle = (G4int)G4Element::GetNumberOfElements();
|
||||
numEle = G4Element::GetNumberOfElements();
|
||||
theFission = new G4ParticleHPChannel[numEle];
|
||||
|
||||
for (G4int i=0; i<numEle; ++i)
|
||||
for (std::size_t i=0; i<numEle; ++i)
|
||||
{
|
||||
// G4cout << "G4FissLib::G4FissLib(): element "<< i << " : " << (*(G4Element::GetElementTable()))[i]->GetZ()<< G4endl;
|
||||
if((*(G4Element::GetElementTable()))[i]->GetZ()>89)
|
||||
{
|
||||
theFission[i].Init((*(G4Element::GetElementTable()))[i], dirName);
|
||||
|
||||
Reference in New Issue
Block a user