Changeset 3805 in Sophya for trunk/Cosmo/SimLSS/cmvobserv3d.cc


Ignore:
Timestamp:
Jul 24, 2010, 12:01:34 AM (15 years ago)
Author:
cmv
Message:

Refonte totale de la structure des classes InitialSpectrum, TransfertFunction, GrowthFactor, PkSpectrum et classes tabulate pour lecture des fichiers CAMB, cmv 24/07/2010

File:
1 edited

Legend:

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

    r3768 r3805  
    299299 cout<<endl<<"\n--- Create Spectrum"<<endl;
    300300
    301  InitialSpectrum pkini(ns,as);
     301 InitialPowerLaw pkini(ns,as);
    302302
    303303 TransfertEisenstein tf(h100,om0-ob0,ob0,T_CMB_Par,false);
    304304 //tf.SetNoOscEnv(2);
    305305
    306  GrowthFactor growth(om0,ol0);
    307  // GrowthFactor growth(1.,0.); // D(z) = 1/(1+z)
     306 GrowthEisenstein growth(om0,ol0);
     307 // GrowthEisenstein growth(1.,0.); // D(z) = 1/(1+z)
    308308 double growth_at_z = growth(zref);
    309309 cout<<"...Growth factor at z="<<zref<<" = "<<growth_at_z<<endl;
    310310
    311  PkSpectrum0 pk0(pkini,tf);
    312 
    313  PkSpectrumZ pkz(pk0,growth,zref);
     311 PkSpecCalc pkz(pkini,tf,growth,zref);
    314312
    315313 //-----------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.