Changeset 4047 in Sophya for trunk/Cosmo/SimLSS/cosmocalc.cc
- Timestamp:
- Jan 12, 2012, 10:37:47 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cosmo/SimLSS/cosmocalc.cc
r3970 r4047 235 235 printf("Otot=%g Ocurv=%g\n",Otot(z),Ocurv(z)); 236 236 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)); 238 238 printf("Distance: angular=%g Mpc, lum=%g Mpc\n",Dang(z),Dlum(z)); 239 239 printf("Volume comoving element: %g Mpc^3/sr/dz=1\n",dVol(z)); … … 292 292 { 293 293 return _Dhubble * NInteg(z); 294 } 295 296 double 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); 294 300 } 295 301
Note:
See TracChangeset
for help on using the changeset viewer.