60 :
fName(Name), fZ(Z), fN(N), fA(A), fm(il)
64 ed <<
"Wrong Isotope " << Name <<
" Z= " << Z <<
G4endl;
69 ed <<
"Wrong Isotope " << Name <<
" Z= " << Z <<
" > N= " << N <<
G4endl;
86 : fZ(0), fN(0), fA(0), fm(0), fIndexInTable(0)
141 std::ios::fmtflags mode = flux.flags();
142 flux.setf(std::ios::fixed,std::ios::floatfield);
146 <<
" Isotope: " << std::setw(5) << isotope->
fName
147 <<
" Z = " << std::setw(2) << isotope->
fZ
148 <<
" N = " << std::setw(3) << isotope->
fN
149 <<
" A = " << std::setw(6) << std::setprecision(2)
150 << (isotope->
fA)/(
g/
mole) <<
" g/mole";
152 flux.precision(prec);
153 flux.setf(mode,std::ios::floatfield);
171 <<
"\n***** Table : Nb of isotopes = " << IsotopeTable.size()
174 for (
size_t i=0; i<IsotopeTable.size(); i++)
175 flux << IsotopeTable[i] <<
G4endl;
207 G4cout <<
"\n---> warning from G4Isotope::GetIsotope(). The isotope: "
208 << isotopeName <<
" does not exist in the table. Return NULL pointer."
std::ostringstream G4ExceptionDescription
const G4String & GetName() const
std::ostream & operator<<(std::ostream &, const BasicVector3D< float > &)
G4int operator==(const G4Isotope &) const
static constexpr double g
G4Isotope & operator=(const G4Isotope &)
static constexpr double mole
static G4IsotopeTable theIsotopeTable
G4double GetAtomicMass(G4int Z, G4int N) const
std::vector< G4Isotope * > G4IsotopeTable
static G4Isotope * GetIsotope(const G4String &name, G4bool warning=false)
static constexpr double g
static constexpr double amu_c2
double A(double temperature)
G4int operator!=(const G4Isotope &) const
G4Isotope(const G4String &name, G4int z, G4int n, G4double a=0., G4int m=0)
static size_t GetNumberOfIsotopes()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4GLOB_DLL std::ostream G4cout
static constexpr double mole
static const G4IsotopeTable * GetIsotopeTable()
static G4NistManager * Instance()