Changeset 3806 in Sophya for trunk/Cosmo/SimLSS/pkspectrum.h
- Timestamp:
- Jul 24, 2010, 6:15:07 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cosmo/SimLSS/pkspectrum.h
r3805 r3806 154 154 virtual double operator() (double k); 155 155 virtual double operator() (double k,double z); 156 virtual void SetZ(double z); 156 157 int NPoints(void) {return k_.size();} 157 158 void SetInterpTyp(int typ=0); 158 int ReadCAMB(string filename, double h100=0.71, double zreftab = 0.); 159 int ReadCAMB(string filename, double h100tab=0.71, double zreftab=0.); 160 void SetGrowthFactor(GrowthFactor* d1) {d1_ = d1;} 161 GrowthFactor* GetGrowthFactor(void) {return d1_;} 162 double KMin(void) {if(k_.size()!=0) return k_[0]; else return 0.;} 163 double KMax(void) {if(k_.size()!=0) return k_[k_.size()-1]; else return 0.;} 159 164 protected: 160 165 double kmin_,kmax_; 161 166 int interptyp_; 162 167 vector<double> k_, pk_; 168 GrowthFactor* d1_; 163 169 }; 164 170
Note:
See TracChangeset
for help on using the changeset viewer.