Changeset 3768 in Sophya for trunk/Cosmo/SimLSS/cosmocalc.cc
- Timestamp:
- May 3, 2010, 4:08:34 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cosmo/SimLSS/cosmocalc.cc
r3749 r3768 21 21 22 22 //---------------------------------------------------------- 23 // flat = 0 : no compute Otot from other23 // flat = 0 : do not set Otot=1, compute Otot from others 24 24 // = 1 : change Omatter to get Otot=1 25 25 // = 2 : change Olambda to get Otot=1 … … 96 96 if(_xspl) delete [] _xspl; _xspl = NULL; 97 97 if(_yspl) delete [] _yspl; _yspl = NULL; 98 } 99 100 //---------------------------------------------------------- 101 // On change le zmax de la cosmologie 102 void CosmoCalc::ChangeZmax(double zmax,double dzinc,double dzmax) 103 { 104 _zmax = zmax; 105 if(dzinc<=0. ) dzinc = _dzinc; 106 if(dzmax<=0.) dzmax = _dzmax; 107 cout<<"CosmoCalc::ChangeZmax: zmax="<<_zmax<<" dzinc="<<dzinc<<" dzmax="<<dzmax<<endl; 108 SetInteg(_dperc,dzinc,_dzmax,_glorder); 98 109 } 99 110
Note:
See TracChangeset
for help on using the changeset viewer.