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