76 :
fName(name), fSymbol(symbol)
81 ed <<
"Fail to create G4Element " << name
82 <<
" Z= " << zeff <<
" < 1 !";
87 ed <<
"G4Element Warning: " << name <<
" Z= " << zeff
88 <<
" A= " << aeff/(
g/
mole);
102 ed <<
"Fail to create G4Element " << name
103 <<
" with Z= " << zeff <<
" N= " <<
fNeff 104 <<
" N < Z is not allowed" <<
G4endl;
133 size_t n = size_t(nIsotopes);
137 ed <<
"Fail to create G4Element " << name
138 <<
" <" << symbol <<
"> with " << nIsotopes
155 ed <<
"Fail to add Isotope to G4Element " <<
fName 168 ed <<
"Fail to add Isotope Z= " << iz <<
" to G4Element " <<
fName 180 ed <<
"Fail to add Isotope Z= " << iz <<
" to G4Element " <<
fName 181 <<
" - more isotopes than declaired ";
194 if(wtSum > 0.0) {
fAeff /= wtSum; }
292 static const G4double k1 = 0.0083 , k2 = 0.20206 ,k3 = 0.0020 , k4 = 0.0369 ;
297 fCoulomb = (k1*az4 + k2 + 1./(1.+az2))*az2 - (k3*az4 + k4)*az4;
308 static const G4double Lrad_light[] = {5.31 , 4.79 , 4.74 , 4.71} ;
309 static const G4double Lprad_light[] = {6.144 , 5.621 , 5.805 , 5.924} ;
315 if (iz <= 3) { Lrad = Lrad_light[
iz] ; Lprad = Lprad_light[
iz] ; }
316 else { Lrad = std::log(184.15) - logZ3 ; Lprad = std::log(1194.) - 2*logZ3;}
331 const std::vector<G4String> elmnames =
338 for(
G4int i=0; i<
n; ++i) {
345 for(
G4int i=0; i<
n; ++i) {
349 std::ostringstream strm;
351 (*theIsotopeVector)[idx] =
new G4Isotope(strm.str(),
Z,
N, 0.0, 0);
357 if(xsum != 0.0 && xsum != 1.0) {
369 ed <<
"Invalid argument " << i <<
" in for G4Element " <<
fName 370 <<
" with Z= " <<
fZeff 384 ed <<
"Invalid argument " << i <<
" for G4Element " <<
fName 385 <<
" with Z= " <<
fZeff 420 G4cout <<
"\n---> warning from G4Element::GetElement(). The element: " 421 << elementName <<
" does not exist in the table. Return NULL pointer." 501 std::ios::fmtflags mode = flux.flags();
502 flux.setf(std::ios::fixed,std::ios::floatfield);
506 <<
" Element: " << element->
fName <<
" (" << element->
fSymbol <<
")" 507 <<
" Z = " << std::setw(4) << std::setprecision(1) << element->
fZeff 508 <<
" N = " << std::setw(5) << std::setprecision(1) <<
G4lrint(element->
fNeff)
509 <<
" A = " << std::setw(6) << std::setprecision(3)
515 <<
" abundance: " << std::setw(6) << std::setprecision(3)
518 flux.precision(prec);
519 flux.setf(mode,std::ios::floatfield);
536 flux <<
"\n***** Table : Nb of elements = " << ElementTable.size()
539 for (
size_t i=0; i<ElementTable.size(); i++) flux << ElementTable[i]
G4int GetNistFirstIsotopeN(G4int Z) const
G4double GetAtomicShell(G4int index) const
const G4Element & operator=(const G4Element &)
std::vector< G4Isotope * > G4IsotopeVector
G4int operator!=(const G4Element &) const
std::ostringstream G4ExceptionDescription
static G4Element * GetElement(G4String name, G4bool warning=true)
G4int operator==(const G4Element &) const
void ComputeCoulombFactor()
void AddNaturalIsotopes()
static G4ElementTable theElementTable
G4int * fNbOfShellElectrons
G4IsotopeVector * theIsotopeVector
G4double GetIsotopeAbundance(G4int Z, G4int N) const
G4IonisParamElm * fIonisation
static G4NistManager * Instance()
void ComputeLradTsaiFactor()
G4GLOB_DLL std::ostream G4cout
static size_t GetNumberOfElements()
void InitializePointers()
static G4double GetBindingEnergy(G4int Z, G4int SubshellNb)
void AddIsotope(G4Isotope *isotope, G4double RelativeAbundance)
G4Element(const G4String &name, const G4String &symbol, G4double Zeff, G4double Aeff)
static const double perCent
G4int GetNbOfShellElectrons(G4int index) const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
const G4String & GetName() const
static const double perMillion
friend std::ostream & operator<<(std::ostream &, const G4Element *)
static G4int GetNumberOfElectrons(G4int Z, G4int SubshellNb)
const std::vector< G4String > & GetNistElementNames() const
G4double * fRelativeAbundanceVector
std::vector< G4Element * > G4ElementTable
static G4ElementTable * GetElementTable()
G4int GetNumberOfNistIsotopes(G4int Z) const
static G4int GetNumberOfShells(G4int Z)
void ComputeDerivedQuantities()