Import Geant4 11.2.2 source tree

This commit is contained in:
Gabriele Cosmo
2024-06-21 15:46:33 +02:00
parent dda54bbdcf
commit f7b23877ed
411 changed files with 22817 additions and 21317 deletions
+7
View File
@@ -6,6 +6,13 @@ It must **not** be used as a substitute for writing good git commit messages!
-------------------------------------------------------------------------------
## 2024-04-04 Vladimir Ivanchenko (materials-V11-01-15)
- G4NistMaterialBuilder in the method HepAndNuclearMaterials()
G4_BRASS, G4_BRONZE, and G4_STAILESS_STEEL are defined using
mass fractions of components instead of number of atoms
in order to have more natural description (problem #2601).
Results may be changed on level 10^-5 due to numerical differences.
## 2023-11-13 Ben Morgan (materials-V11-01-14)
- Use G4FindDataDir to access data libraries in place of raw `getenv`.
@@ -1850,21 +1850,21 @@ void G4NistMaterialBuilder::HepAndNuclearMaterials()
// SRIM-2008 materials
AddMaterial("G4_BRASS", 8.52, 0, 0.0, 3);
AddElementByAtomCount("Cu", 62);
AddElementByAtomCount("Zn", 35);
AddElementByAtomCount("Pb" , 3);
AddElementByWeightFraction( 29, 0.57515);
AddElementByWeightFraction( 30, 0.33415);
AddElementByWeightFraction( 82, 0.0907);
AddMaterial("G4_BRONZE", 8.82, 0, 0.0, 3);
AddElementByAtomCount("Cu", 89);
AddElementByAtomCount("Zn", 9);
AddElementByAtomCount("Pb" , 2);
AddElementByWeightFraction( 29, 0.8494);
AddElementByWeightFraction( 30, 0.0884);
AddElementByWeightFraction( 82, 0.0622);
// parameters are taken from
// http://www.azom.com/article.aspx?ArticleID=965
AddMaterial("G4_STAINLESS-STEEL", 8.00, 0, 0.0, 3);
AddElementByAtomCount("Fe", 74);
AddElementByAtomCount("Cr", 18);
AddElementByAtomCount("Ni" , 8);
AddElementByWeightFraction( 26, 0.7462);
AddElementByWeightFraction( 24, 0.1690);
AddElementByWeightFraction( 28, 0.0848);
AddMaterial("G4_CR39", 1.32, 0, 0.0, 3);
AddElementByAtomCount("H", 18);