Changeset 3249 in Sophya for trunk/Cosmo/SimLSS


Ignore:
Timestamp:
May 16, 2007, 4:39:35 PM (18 years ago)
Author:
cmv
Message:

print cmv 16/05/2007

File:
1 edited

Legend:

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

    r3246 r3249  
    9191 cout<<"sch(mstar) = "<<sch(mstar)<<" /Mpc^3/Msol"<<endl;
    9292 sch.SetOutValue(0);
    93  for(int i=0;i<=5;i++) {
    94    double num = IntegrateFuncLog(sch,lnx1-i,lnx2+i,perc,dlxinc,dlxmax,glorder);
    95    cout<<"["<<lnx1-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;
    9696 }
    9797 Histo hdndm(lnx1,lnx2,npt); hdndm.ReCenterBin();
     
    102102 sch.SetOutValue(1);
    103103 cout<<"mstar*sch(mstar) = "<<sch(mstar)<<" Msol/Mpc^3/Msol"<<endl;
    104  for(int i=0;i<=5;i++) {
    105    double sum = IntegrateFuncLog(sch,lnx1-i,lnx2+i,perc,dlxinc,dlxmax,glorder);
    106    cout<<"["<<lnx1-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;
    107107 }
    108108 Histo hmdndm(lnx1,lnx2,npt); hmdndm.ReCenterBin();
Note: See TracChangeset for help on using the changeset viewer.