Changeset 3249 in Sophya for trunk/Cosmo/SimLSS
- Timestamp:
- May 16, 2007, 4:39:35 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cosmo/SimLSS/cmvtstsch.cc
r3246 r3249 91 91 cout<<"sch(mstar) = "<<sch(mstar)<<" /Mpc^3/Msol"<<endl; 92 92 sch.SetOutValue(0); 93 for( int i=0;i<=5;i++) {94 double num = IntegrateFuncLog(sch,lnx 1-i,lnx2+i,perc,dlxinc,dlxmax,glorder);95 cout<<"["<<lnx 1-i<<","<<lnx2+i<<"] integrated number = "<<num<<" Mpc^-3"<<endl;93 for(double lnx=lnx1-5.;lnx<=lnx2-1.;lnx+=1.) { 94 double num = IntegrateFuncLog(sch,lnx,lnx2,perc,dlxinc,dlxmax,glorder); 95 cout<<"["<<lnx<<","<<lnx2<<"] integrated number = "<<num<<" Mpc^-3"<<endl; 96 96 } 97 97 Histo hdndm(lnx1,lnx2,npt); hdndm.ReCenterBin(); … … 102 102 sch.SetOutValue(1); 103 103 cout<<"mstar*sch(mstar) = "<<sch(mstar)<<" Msol/Mpc^3/Msol"<<endl; 104 for( int i=0;i<=5;i++) {105 double sum = IntegrateFuncLog(sch,lnx 1-i,lnx2+i,perc,dlxinc,dlxmax,glorder);106 cout<<"["<<lnx 1-i<<","<<lnx2+i<<"] integrated mass = "<<sum<<" Msol.Mpc^-3"<<endl;104 for(double lnx=lnx1-5.;lnx<=lnx2-1.;lnx+=1.) { 105 double sum = IntegrateFuncLog(sch,lnx,lnx2,perc,dlxinc,dlxmax,glorder); 106 cout<<"["<<lnx<<","<<lnx2<<"] integrated mass = "<<sum<<" Msol.Mpc^-3"<<endl; 107 107 } 108 108 Histo hmdndm(lnx1,lnx2,npt); hmdndm.ReCenterBin();
Note:
See TracChangeset
for help on using the changeset viewer.