Changeset 3344 in Sophya for trunk/Cosmo/SimLSS


Ignore:
Timestamp:
Oct 9, 2007, 10:43:47 AM (18 years ago)
Author:
cmv
Message:

set schechter mmin=1e8 -> 1e7 cmv 09/10/2007

Location:
trunk/Cosmo/SimLSS
Files:
3 edited

Legend:

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

    r3343 r3344  
    299299 cout<<"mstar*sch(mstar) = "<<sch(mstar)<<" Msol/Mpc^3/Msol"<<endl;
    300300 int npt = 10000;
    301  double lnx1=log10(1e+6), lnx2=log10(1e+14), dlnx=(lnx2-lnx1)/npt;
     301 double lnx1=log10(1.e+6), lnx2=log10(1.e+13), dlnx=(lnx2-lnx1)/npt;
    302302 double masshimpc3 = IntegrateFuncLog(sch,lnx1,lnx2,0.001,dlnx,10.*dlnx,6);
    303303 cout<<"Mass density: "<<masshimpc3<<" Msol/Mpc^3"<<endl;
     
    312312 cout<<"\nsch(mstar) = "<<sch(mstar)<<" /Mpc^3/Msol"<<endl;
    313313 cout<<"Galaxy number density:"<<endl;
    314  for(double x=lnx1; x<10.5; x+=1.) {
     314 for(double x=lnx1; x<lnx2-0.5; x+=1.) {
    315315   double n = IntegrateFuncLog(sch,x,lnx2,0.001,dlnx,10.*dlnx,6);
    316316   cout<<"  m>"<<x<<" Msol: "<<n<<" /Mpc^3, "<<n*dvol<<" /pixel, "
  • trunk/Cosmo/SimLSS/cmvobserv3d.cc

    r3343 r3344  
    8989 double alpha = -1.37;
    9090
    91  double schmin=1e8, schmax=1e13;
     91 double schmin=1.e7, schmax=1.e13;
    9292 int schnpt = -100;
    9393 bool use_schmassdist = false;
  • trunk/Cosmo/SimLSS/cmvschdist.cc

    r3343 r3344  
    66// ex: on a un pixel qui a N galaxies, quelle est la distribution
    77//     statistique de masse dans un tel pixel ?
    8 // > cmvschdist -a -v -m 1e+8,1e+13 -n -100 -r 200 -N 100000
     8// > cmvschdist -a -v -m 1e+7,1e+13 -n -100 -r 200 -N 100000
    99// compare with:
    10 // > cmvschdist -a -v -m 1e+8,1e+13 -n -100 -r 200 -N 100000 -0
     10// > cmvschdist -a -v -m 1e+7,1e+13 -n -100 -r 200 -N 100000 -0
    1111// Fabriquer un fichier pour la prod
    12 // > cmvschdist -a -m 1e+8,1e+13 -n -100 -r 2000 -N 5000000 -W schdist_2000.ppf
     12// > cmvschdist -a -m 1e+7,1e+13 -n -100 -r 2000 -N 5000000 -W schdist_2000.ppf
    1313#include <iostream>
    1414#include <stdlib.h>
     
    5252 cout<<"h75= "<<h75<<" nstar= "<<nstar<<"  mstar="<<mstar<<"  alpha="<<alpha<<endl;
    5353
    54  double xmin=1e8, xmax=1e13;
     54 double xmin=1.e7, xmax=1.e13;
    5555 int npt = -100;
    5656 int ngmax = 200, ngmin = 1;
Note: See TracChangeset for help on using the changeset viewer.