Changeset 3193 in Sophya for trunk/Cosmo/SimLSS/schechter.cc


Ignore:
Timestamp:
Mar 21, 2007, 7:18:25 PM (19 years ago)
Author:
cmv
Message:

petis changements cmv 21/03/2007

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cosmo/SimLSS/schechter.cc

    r3115 r3193  
    5454}
    5555
     56void Schechter::Print(void)
     57{
     58  cout<<"Schechter::Print: nstar="<<nstar_<<" Mpc^-3"
     59      <<"  mstar="<<mstar_<<" MSol"
     60      <<"  alpha="<<alpha_
     61      <<"  (outvalue="<<outvalue_<<" -> return ";
     62  if(outvalue_) cout<<"m*dn/dm)"; else cout<<"dn/dm)";
     63  cout<<endl;
     64}
     65
    5666///////////////////////////////////////////////////////////
    5767//******************* Le Flux a 21cm ********************//
     
    6474// Return:
    6575//    le flux total emis a 21 cm en W/m^2
    66 // Ref: Binney & Merrifield, Galactic Astronomy p474 (ed:1998)
    67 //      J.Peterson & K.Bandura, astroph-0606104  (eq 7)
    68 //      F.Abdalla & Rawlings, astroph-0411342 (eq 7 may pb de d'unites?)
     76// Ref:
     77// -- Binney & Merrifield, Galactic Astronomy p474 (ed:1998)
     78// S(W/m^2) = 1e-26 * Nu_21cm(Hz) * m(en masse solaire) /(2.35e5 * C(km/s) * Dlum^2)
     79//          = 2.0e-28 * m / Dlum^2
     80// -- J.Peterson & K.Bandura, astroph-0606104  (eq 7)
     81//    F.Abdalla & Rawlings, astroph-0411342 (eq 7 mais pb de d'unites?)
     82//          (A_21cm = 2.86888e-15 s^-1)
     83// S(W/m^2) = 3/4 * h(J.s) * Nu_21cm(Hz) * A_21cm(s^-1) * Msol(kg)/m_proton(kg)
     84//                         / (4 Pi) / (Dlum(Mpc) * 3.0857e22(m/Mpc))^2
     85//          = 2.0e-28 * m / Dlum^2
     86//-------------
    6987{
    70   return  m / (2.35e+5 * d*d )
    71           * Jansky2Watt_cst
    72           * (Fr_HyperFin_Par*1e+9)/SpeedOfLight_Cst;
     88  return  2.0e-28 * m / (d*d);
    7389}
    74 
Note: See TracChangeset for help on using the changeset viewer.