Changeset 3952 in Sophya for trunk/Cosmo/SimLSS/cosmocalc.h
- Timestamp:
- Feb 22, 2011, 4:32:25 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cosmo/SimLSS/cosmocalc.h
r3768 r3952 25 25 void PrtInteg(void); 26 26 27 void SetDynParam(double h100,double om0,double or0,double ol0,double w0=-1. );27 void SetDynParam(double h100,double om0,double or0,double ol0,double w0=-1.,double wa=0.); 28 28 void SetObaryon0(double v); 29 29 void DefaultParam(void); … … 34 34 inline double Olambda0(void) {return _Olambda0;} 35 35 inline double W0(void) {return _W0;} 36 inline double Wa(void) {return _Wa;} 36 37 inline double Omatter0(void) {return _Omatter0;} 37 38 inline double Obaryon0(void) {return _Obaryon0;} … … 43 44 inline double H(double z) {return _H0 * E(z);} 44 45 double Olambda(double z); 46 inline double W(double z) {return _W0 + _Wa * z/(1.+z);} // W(z) = W0 + Wa*(1-a) 45 47 double Omatter(double z); 46 48 double Obaryon(double z); … … 76 78 unsigned short _flat; 77 79 double _h100, _H0; /* km/s/Mpc */ 78 double _Olambda0,_W0 ;80 double _Olambda0,_W0,_Wa; 79 81 double _Omatter0,_Obaryon0; 80 82 double _Orelat0;
Note:
See TracChangeset
for help on using the changeset viewer.