Changeset 3318 in Sophya for trunk/Cosmo/SimLSS/pkspectrum.h
- Timestamp:
- Aug 28, 2007, 11:41:49 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cosmo/SimLSS/pkspectrum.h
r3314 r3318 43 43 double T0tild(double k,double alphac,double betac); 44 44 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 //----------------------------------------------------------------------------------- 49 class TransfertTabulate : public GenericFunc { 50 public: 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); 58 protected: 59 double Oc_,Ob_,h_; 60 double kmin_,kmax_; 61 int interptyp_; 62 vector<double> k_, tf_; 48 63 }; 49 64
Note:
See TracChangeset
for help on using the changeset viewer.