8 : particle_mass(fparticle_mass),
9 particle_charge(fparticle_charge),
10 s_primary_electron(fs_primary_electron),
13 mfunnamep(
"EnTransfCS_BGM::EnTransfCS_BGM(...)");
18 for (n = 0; n < q; n++) {
19 double bg =
mesh->x[n];
20 double gamma_1 =
sqrt(1.0 + (bg * bg)) - 1.0;
29 Ifile <<
"EnTransfCS_BGM(l=" << l <<
"):\n";
39 Ifile <<
"Array of Cross Section:\n";
40 Ifile <<
"Number of elements = " <<
etcs_bgm.get_qel() <<
'\n';
45 for (n = 0; n < q; n++) {
46 Ifile <<
"n=" << std::setw(5) << n <<
" bg=" << std::setw(14)
47 <<
mesh->x[n] <<
" quan=" << std::setw(14) <<
etcs_bgm[n].quanC;
49 file <<
" mean=" << std::setw(14) <<
etcs_bgm[n].meanC;
58 mfunname(
"std::ostream& operator << (std::ostream& file, const "
59 "EnTransfCS_BGM_Type& f)");
61 Ifile <<
"EnTransfCS_BGM_Type: type is not initialized\n";
63 Ifile <<
"EnTransfCS_BGM_Type: =";
DoubleAc sqrt(const DoubleAc &f)
#define mfunnamep(string)
PassivePtr< EnTransfCS_BGM > etcs_bgm
PassivePtr< HeedMatterDef > hmd
DynLinArr< EnTransfCS > etcs_bgm
PassivePtr< BGMesh > mesh
virtual void print(std::ostream &file, int l) const
std::ostream & operator<<(std::ostream &file, const BGMesh &bgm)