Changeset 3805 in Sophya for trunk/Cosmo/SimLSS/cmvginit3d.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/cmvginit3d.cc

    r3800 r3805  
    218218 cout<<endl<<"\n--- Create Spectrum"<<endl;
    219219
    220  InitialSpectrum pkini(ns,as);
     220 InitialPowerLaw pkini(ns,as);
    221221
    222222 TransfertEisenstein tf(h100,om0-ob0,ob0,T_CMB_Par,false);
     
    224224   tfnos.SetNoOscEnv(2);
    225225
    226  GrowthFactor growth(om0,ol0);
    227  // GrowthFactor growth(1.,0.); // D(z) = 1/(1+z)
     226 GrowthEisenstein growth(om0,ol0);
     227 // GrowthEisenstein growth(1.,0.); // D(z) = 1/(1+z)
    228228 double growth_at_z = growth(zref);
    229229 cout<<"...Growth factor at z="<<zref<<" = "<<growth_at_z<<endl;
    230230
    231  PkSpectrum0 pk0(pkini,tf);
    232  PkSpectrum0 pk0nos(pkini,tfnos);
    233 
    234  PkSpectrumZ pkz(pk0,growth,zref);
    235  PkSpectrumZ pkznos(pk0nos,growth,zref);
     231 PkSpecCalc pkz(pkini,tf,growth,zref);
     232 PkSpecCalc pkznos(pkini,tfnos,growth,zref);
    236233
    237234 //-----------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.