Changeset 3284 in Sophya for trunk/Cosmo/SimLSS/cmvtstsch.cc


Ignore:
Timestamp:
Jul 27, 2007, 12:03:29 PM (18 years ago)
Author:
cmv
Message:

Creation de cmvschdist.cc cmv 27/07/2007

File:
1 edited

Legend:

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

    r3249 r3284  
    9191 cout<<"sch(mstar) = "<<sch(mstar)<<" /Mpc^3/Msol"<<endl;
    9292 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.) {
    9495   double num = IntegrateFuncLog(sch,lnx,lnx2,perc,dlxinc,dlxmax,glorder);
    9596   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;
    96107 }
    97108 Histo hdndm(lnx1,lnx2,npt); hdndm.ReCenterBin();
     
    102113 sch.SetOutValue(1);
    103114 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.) {
    105117   double sum = IntegrateFuncLog(sch,lnx,lnx2,perc,dlxinc,dlxmax,glorder);
    106118   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;
    107129 }
    108130 Histo hmdndm(lnx1,lnx2,npt); hmdndm.ReCenterBin();
Note: See TracChangeset for help on using the changeset viewer.