Changeset 4047 in Sophya for trunk/Cosmo/SimLSS/cosmocalc.cc


Ignore:
Timestamp:
Jan 12, 2012, 10:37:47 PM (14 years ago)
Author:
cmv
Message:

details..., cmv 12/01/2012

File:
1 edited

Legend:

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

    r3970 r4047  
    235235  printf("Otot=%g  Ocurv=%g\n",Otot(z),Ocurv(z));
    236236  if(z <= 0.) return;
    237   printf("Distance comoving: los=%g Mpc, transv=%g Mpc\n",Dloscom(z),Dtrcom(z));
     237  printf("Distance comoving: los=%g Mpc (dlos/dz=%g), transv=%g Mpc\n",Dloscom(z),DloscomDz(z),Dtrcom(z));
    238238  printf("Distance: angular=%g Mpc, lum=%g Mpc\n",Dang(z),Dlum(z));
    239239  printf("Volume comoving element: %g Mpc^3/sr/dz=1\n",dVol(z));
     
    292292{
    293293  return _Dhubble * NInteg(z);
     294}
     295
     296double CosmoCalc::DloscomDz(double z)
     297// d(Dloscom)/dz : derivee de la distance LOS comobile par rapport a z
     298{
     299  return SpeedOfLight_Cst / H(z);
    294300}
    295301
Note: See TracChangeset for help on using the changeset viewer.