Import Geant4 10.7.2 source tree

This commit is contained in:
Gabriele Cosmo
2021-06-14 10:01:31 +02:00
parent 3dfcdb544e
commit c968e26a39
271 changed files with 26365 additions and 21942 deletions
+11
View File
@@ -16,6 +16,17 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
06-05-21 G.Cosmo (materials-V10-06-14)
- Fixed shadowing compilation warning in G4Isotope reported with gcc-11.
16-04-21 V.Ivanchenko (materials-V10-06-13)
- G4AtomicShells, G4AtomicShells_XDB_EADL - fixed method
GetNumberOfFreeElectrons(..) - problem #2356
05-02-21 V.Ivanchenko
- G4DensityEffectData - fixed typo in Z=37 elementary material name
(problem #2324)
16-11-20 G.Cosmo (materials-V10-06-12)
- Fixed typos in printed-out text. Addressing problem report #2285.
+1 -1
View File
@@ -78,7 +78,7 @@ class G4Isotope
G4int z, //atomic number
G4int n, //number of nucleons
G4double a = 0., //mass of mole
G4int m = 0); //isomer level
G4int mlevel = 0); //isomer level
virtual ~G4Isotope();
+1 -1
View File
@@ -789,7 +789,7 @@ G4AtomicShells::GetNumberOfFreeElectrons(G4int Z, G4double th)
G4int idxmax = idx + fNumberOfShells[Z];
G4int n = 0;
for (G4int i=idx; i<idxmax; ++i) {
if(fBindingEnergies[i] <= th) { n += fNumberOfElectrons[i]; }
if(fBindingEnergies[i]*CLHEP::eV <= th) { n += fNumberOfElectrons[i]; }
}
return n;
}
@@ -41,7 +41,6 @@
#include "G4AtomicShells_XDB_EADL.hh"
#include "G4SystemOfUnits.hh"
const G4int
G4AtomicShells_XDB_EADL::fNumberOfShells[121] =
{
@@ -711,7 +710,6 @@ G4AtomicShells_XDB_EADL::fBindingEnergies[2171] =
0.0396, 0.0251, 0.0113, 0.0042
};
const G4int
G4AtomicShells_XDB_EADL::fNumberOfElectrons[2171] =
{
@@ -1276,7 +1274,7 @@ G4AtomicShells_XDB_EADL::GetNumberOfFreeElectrons(G4int Z, G4double th)
G4int idxmax = idx + fNumberOfShells[Z];
G4int n = 0;
for (G4int i=idx; i<idxmax; ++i) {
if(fBindingEnergies[i] <= th) { n += fNumberOfElectrons[i]; }
if(fBindingEnergies[i]*CLHEP::keV <= th) { n += fNumberOfElectrons[i]; }
}
return n;
}
+2 -2
View File
@@ -271,9 +271,9 @@ void G4DensityEffectData::Initialize()
indexZ[36]=36;
state[36]=kStateGas;
//G4_Ru index=37
//G4_Rb index=37
G4double M37[NDENSARRAY]={23.467,1.823,6.4776,0.5737,3.7995,0.07261,3.4177,0.14,0.026,363. };
AddMaterial(M37,"G4_Ru");
AddMaterial(M37,"G4_Rb");
indexZ[37]=37;
//G4_Sr index=38