33int main(
int argc, 
char *argv[])
 
   56  if (fabs(le) < 1.e-13)
 
   58  if (fabs(lmu) < 1.e-13)
 
   60  if (fabs(ltau) < 1.e-13)
 
   76  bool useWidth  = 
false;
 
   82  bool useQStats = 
true;
 
   86  bool interactingpions = 
true;
 
   89  CosmicEoS cosmos(&modelHRG, interactingpions);
 
   94  cout << 
"le + lmu = " << setw(15) << le + lmu << endl;
 
   95  cout << 
"le - lmu = " << setw(15) << le - lmu << endl;
 
   96  cout << 
"le   = " << setw(15) << le << endl;
 
   97  cout << 
"lmu  = " << setw(15) << lmu << endl;
 
   98  cout << 
"ltau = " << setw(15) << ltau << endl;
 
  106  vector<double> Temps;
 
  107  for (
double tT = Tmin; tT <= Tmax + 0.1 * dT; tT += dT) {
 
  112  string filename = 
"CosmicTrajectory";
 
  115    sprintf(cc, 
"le+lmu.%lf", le + lmu);
 
  116    filename += 
"." + string(cc);
 
  120  ofstream fout(filename);
 
  123  fout << setw(15) << 
"T[MeV]" << 
" ";
 
  124  fout << setw(15) << 
"muB[MeV]" << 
" ";
 
  125  fout << setw(15) << 
"muQ[MeV]" << 
" ";
 
  126  fout << setw(15) << 
"mue[MeV]" << 
" ";
 
  127  fout << setw(15) << 
"mum[MeV]" << 
" ";
 
  128  fout << setw(15) << 
"mut[MeV]" << 
" ";
 
  129  fout << setw(15) << 
"pion_bec" << 
" ";
 
  130  fout << setw(15) << 
"nI/T3" << 
" ";
 
  131  fout << setw(15) << 
"pT4" << 
" ";
 
  132  fout << setw(15) << 
"eT4" << 
" ";
 
  133  fout << setw(15) << 
"IT4" << 
" ";
 
  134  fout << setw(15) << 
"pT4_QCD" << 
" ";
 
  135  fout << setw(15) << 
"eT4_QCD" << 
" ";
 
  136  fout << setw(15) << 
"IT4_QCD" << 
" ";
 
  137  fout << setw(15) << 
"sT3" << 
" ";
 
  138  fout << setw(15) << 
"sT3_QCD" << 
" ";
 
  139  fout << setw(15) << 
"IT4_e" << 
" ";
 
  140  fout << setw(15) << 
"IT4_mu" << 
" ";
 
  141  fout << setw(15) << 
"IT4_tau" << 
" ";
 
  142  fout << setw(15) << 
"nQ_QCD/T3" << 
" ";
 
  143  fout << setw(15) << 
"npi_QCD/T3" << 
" ";
 
  144  fout << setw(15) << 
"ne/T3" << 
" ";
 
  145  fout << setw(15) << 
"nmu/T3" << 
" ";
 
  146  fout << setw(15) << 
"ntau/T3" << 
" ";
 
  150  cout << setw(15) << 
"T[MeV]" << 
" ";
 
  151  cout << setw(15) << 
"muB[MeV]" << 
" ";
 
  152  cout << setw(15) << 
"muQ[MeV]" << 
" ";
 
  153  cout << setw(15) << 
"mue[MeV]" << 
" ";
 
  154  cout << setw(15) << 
"mum[MeV]" << 
" ";
 
  155  cout << setw(15) << 
"mut[MeV]" << 
" ";
 
  156  cout << setw(15) << 
"pion_bec" << endl;
 
  164  vector<double> prev = vector<double>({ 0.700, -1.e-7, -1.e-7, -1.e-7, -1.e-7 });
 
  167  for (
auto&& T : Temps) {
 
  175    if (!interactingpions && abs(chems[1]) > 0.139)
 
  178    cout << setw(15) << T * 1.e3 << 
" ";
 
  179    cout << setw(15) << chems[0] * 1.e3 << 
" ";
 
  180    cout << setw(15) << chems[1] * 1.e3 << 
" ";
 
  181    cout << setw(15) << chems[2] * 1.e3 << 
" ";
 
  182    cout << setw(15) << chems[3] * 1.e3 << 
" ";
 
  183    cout << setw(15) << chems[4] * 1.e3 << 
" ";
 
  188    fout << setw(15) << T * 1.e3 << 
" ";
 
  189    fout << setw(15) << chems[0] * 1.e3 << 
" ";
 
  190    fout << setw(15) << chems[1] * 1.e3 << 
" ";
 
  191    fout << setw(15) << chems[2] * 1.e3 << 
" ";
 
  192    fout << setw(15) << chems[3] * 1.e3 << 
" ";
 
  193    fout << setw(15) << chems[4] * 1.e3 << 
" ";
 
  222    for(
int iT = Temps.size() - 1; 0 && iT >= 0; iT--) {
 
  223      double T = Temps[iT];
 
  228      if (!interactingpions && abs(chems[1]) > 0.139)
 
  231      cout << setw(15) << T * 1.e3 << 
" ";
 
  232      cout << setw(15) << chems[0] * 1.e3 << 
" ";
 
  233      cout << setw(15) << chems[1] * 1.e3 << 
" ";
 
  234      cout << setw(15) << chems[2] * 1.e3 << 
" ";
 
  235      cout << setw(15) << chems[3] * 1.e3 << 
" ";
 
  236      cout << setw(15) << chems[4] * 1.e3 << 
" ";
 
  239      fout << setw(15) << T * 1.e3 << 
" ";
 
  240      fout << setw(15) << chems[0] * 1.e3 << 
" ";
 
  241      fout << setw(15) << chems[1] * 1.e3 << 
" ";
 
  242      fout << setw(15) << chems[2] * 1.e3 << 
" ";
 
  243      fout << setw(15) << chems[3] * 1.e3 << 
" ";
 
  244      fout << setw(15) << chems[4] * 1.e3 << 
" ";
 
  260  printf(
"%30s %lf s\n", 
"Running time:", (wt2 - wt1));
 
  261  printf(
"%30s %lf s\n", 
"Time per single calculation:", (wt2 - wt1) / iters);
 
 
@ eBWconstBR
Energy-dependent Breit-Wigner scheme (eBW) with constant branching ratios when evaluating feeddown.