25 <<
"\"" << element.
Name() <<
"\" "
26 <<
"\"" << element.
Symbol() <<
"\""
27 <<
" Z = " << element.
Z() <<
" N = " << element.
N()
28 <<
" A = " << element.
A() <<
" g/mole";
31 if (i == 0) out << std::endl;
32 out <<
" " << i <<
"th isotope: " << *element.
Isotope(i)
33 <<
" abundance: " << element.
RelAbundance(i) * 100. <<
"%";
34 if (i < element.
NofIsotopes() - 1) out << std::endl;
The VGM interface to elements.
virtual IIsotope * Isotope(int i) const =0
Return the i-th isotope constituing this element.
virtual int NofIsotopes() const =0
Return the number of isotopes constituing this element.
virtual double Z() const =0
Return the effective atomic number.
virtual double RelAbundance(int i) const =0
Return the relative abundance (the fraction of nb of atomes per volume) of the i-th isotope constitui...
virtual std::string Name() const =0
Return the name of this element.
virtual std::string Symbol() const =0
Return the symbol of this element.
virtual double A() const =0
Return the effective effective mass of a mole in g/mole.
virtual double N() const =0
Return the effective number of nucleons.
std::ostream & operator<<(std::ostream &out, const VGM::IElement &element)