#include <iomanip>
#include <sstream>
#include "G4Element.hh"
#include "G4AtomicShells.hh"
#include "G4NistManager.hh"
#include "G4PhysicalConstants.hh"
#include "G4SystemOfUnits.hh"
#include "G4Log.hh"
Go to the source code of this file.
std::ostream& operator<< |
( |
std::ostream & |
flux, |
|
|
const G4Element * |
element |
|
) |
| |
Definition at line 432 of file G4Element.cc.
434 std::ios::fmtflags
mode = flux.flags();
435 flux.setf(std::ios::fixed,std::ios::floatfield);
439 <<
" Element: " << element->fName <<
" (" << element->fSymbol <<
")"
440 <<
" Z = " << std::setw(4) << std::setprecision(1) << element->fZeff
441 <<
" N = " << std::setw(5) << std::setprecision(1)
443 <<
" A = " << std::setw(6) << std::setprecision(3)
444 << (element->fAeff)/(
g/
mole) <<
" g/mole";
446 for (
G4int i=0; i<element->fNumberOfIsotopes; i++)
448 <<
"\n ---> " << (*(element->theIsotopeVector))[i]
449 <<
" abundance: " << std::setw(6) << std::setprecision(3)
450 << (element->fRelativeAbundanceVector[i])/
perCent <<
" %";
452 flux.precision(prec);
453 flux.setf(mode,std::ios::floatfield);
static constexpr double perCent
static constexpr double g
static constexpr double mole
std::ostream& operator<< |
( |
std::ostream & |
flux, |
|
|
const G4Element & |
element |
|
) |
| |
std::ostream& operator<< |
( |
std::ostream & |
flux, |
|
|
G4ElementTable |
ElementTable |
|
) |
| |
Definition at line 467 of file G4Element.cc.
470 flux <<
"\n***** Table : Nb of elements = " << ElementTable.size()
473 for (
size_t i=0; i<ElementTable.size(); i++) flux << ElementTable[i]