Changeset 3318 in Sophya for trunk/Cosmo/SimLSS/pkspectrum.h


Ignore:
Timestamp:
Aug 28, 2007, 11:41:49 AM (18 years ago)
Author:
cmv
Message:

TransfertTabulate pour avoir les fct de transfert de CMBFast cmv 28/08/2007

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cosmo/SimLSS/pkspectrum.h

    r3314 r3318  
    4343  double T0tild(double k,double alphac,double betac);
    4444  void Init_(void);
    45   inline void zero_(void)
    46     {th2p7_=zeq_=keq_=zd_=Req_=Rd_=s_=ksilk_=alphac_=betac_=bnode_=
    47      alphab_=betab_=alphag_=sfit_=kpeak_=0.;}
     45  void zero_(void);
     46};
     47
     48//-----------------------------------------------------------------------------------
     49class TransfertTabulate : public GenericFunc {
     50public:
     51  TransfertTabulate(double h100,double OmegaCDM0,double OmegaBaryon0);
     52  TransfertTabulate(TransfertTabulate& tf);
     53  virtual ~TransfertTabulate(void);
     54  virtual double operator() (double k);
     55  int NPoints(void) {return k_.size();}
     56  void SetInterpTyp(int typ=0);
     57  int ReadCMBFast(string filename);
     58protected:
     59  double Oc_,Ob_,h_;
     60  double kmin_,kmax_;
     61  int interptyp_;
     62  vector<double> k_, tf_;
    4863};
    4964
Note: See TracChangeset for help on using the changeset viewer.