Changeset 3284 in Sophya for trunk/Cosmo/SimLSS/cmvtstsch.cc
- Timestamp:
- Jul 27, 2007, 12:03:29 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cosmo/SimLSS/cmvtstsch.cc
r3249 r3284 91 91 cout<<"sch(mstar) = "<<sch(mstar)<<" /Mpc^3/Msol"<<endl; 92 92 sch.SetOutValue(0); 93 for(double lnx=lnx1-5.;lnx<=lnx2-1.;lnx+=1.) { 93 cout<<"......"<<endl; 94 for(double lnx=lnx1-3.;lnx<=lnx2-1.;lnx+=1.) { 94 95 double num = IntegrateFuncLog(sch,lnx,lnx2,perc,dlxinc,dlxmax,glorder); 95 96 cout<<"["<<lnx<<","<<lnx2<<"] integrated number = "<<num<<" Mpc^-3"<<endl; 97 } 98 cout<<"......"<<endl; 99 for(double lnx=lnx1+1.;lnx<=lnx2+3.;lnx+=1.) { 100 double num = IntegrateFuncLog(sch,lnx1,lnx,perc,dlxinc,dlxmax,glorder); 101 cout<<"["<<lnx1<<","<<lnx<<"] integrated number = "<<num<<" Mpc^-3"<<endl; 102 } 103 cout<<"......"<<endl; 104 for(double lnx=lnx1-3.;lnx<=lnx2+3.;lnx+=1.) { 105 double num = IntegrateFuncLog(sch,lnx,lnx+1.,perc,dlxinc,dlxmax,glorder); 106 cout<<"["<<lnx<<","<<lnx+1.<<"] integrated number = "<<num<<" Mpc^-3"<<endl; 96 107 } 97 108 Histo hdndm(lnx1,lnx2,npt); hdndm.ReCenterBin(); … … 102 113 sch.SetOutValue(1); 103 114 cout<<"mstar*sch(mstar) = "<<sch(mstar)<<" Msol/Mpc^3/Msol"<<endl; 104 for(double lnx=lnx1-5.;lnx<=lnx2-1.;lnx+=1.) { 115 cout<<"......"<<endl; 116 for(double lnx=lnx1-3.;lnx<=lnx2-1.;lnx+=1.) { 105 117 double sum = IntegrateFuncLog(sch,lnx,lnx2,perc,dlxinc,dlxmax,glorder); 106 118 cout<<"["<<lnx<<","<<lnx2<<"] integrated mass = "<<sum<<" Msol.Mpc^-3"<<endl; 119 } 120 cout<<"......"<<endl; 121 for(double lnx=lnx1+1.;lnx<=lnx2+3.;lnx+=1.) { 122 double sum = IntegrateFuncLog(sch,lnx1,lnx,perc,dlxinc,dlxmax,glorder); 123 cout<<"["<<lnx1<<","<<lnx<<"] integrated mass = "<<sum<<" Msol.Mpc^-3"<<endl; 124 } 125 cout<<"......"<<endl; 126 for(double lnx=lnx1-3.;lnx<=lnx2+3.;lnx+=1.) { 127 double sum = IntegrateFuncLog(sch,lnx,lnx+1.,perc,dlxinc,dlxmax,glorder); 128 cout<<"["<<lnx<<","<<lnx+1.<<"] integrated mass = "<<sum<<" Msol.Mpc^-3"<<endl; 107 129 } 108 130 Histo hmdndm(lnx1,lnx2,npt); hmdndm.ReCenterBin();
Note:
See TracChangeset
for help on using the changeset viewer.