Changeset 3129 in Sophya for trunk/Cosmo/SimLSS/cmvobserv3d.cc
- Timestamp:
- Jan 11, 2007, 7:24:49 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cosmo/SimLSS/cmvobserv3d.cc
r3120 r3129 42 42 //----------------------------------------------------------------- 43 43 // *** Survey definition 44 intnx=360, ny=-1, nz=64; double dx=1., dy=-1., dz=-1.;45 // intnx=1000, ny=-1, nz=128; double dx=3., dy=-1., dz=6.;46 // intnx=1200, ny=-1, nz=128; double dx=1., dy=-1., dz=3;44 long nx=360, ny=-1, nz=64; double dx=1., dy=-1., dz=-1.; 45 //long nx=1000, ny=-1, nz=128; double dx=3., dy=-1., dz=6.; 46 //long nx=1200, ny=-1, nz=128; double dx=1., dy=-1., dz=3; 47 47 48 48 // *** Cosmography definition (WMAP) … … 90 90 break; 91 91 case 'x' : 92 sscanf(optarg,"% d,%lf",&nx,&dx);92 sscanf(optarg,"%ld,%lf",&nx,&dx); 93 93 break; 94 94 case 'y' : 95 sscanf(optarg,"% d,%lf",&ny,&dy);95 sscanf(optarg,"%ld,%lf",&ny,&dy); 96 96 break; 97 97 case 'z' : 98 sscanf(optarg,"% d,%lf",&nz,&dz);98 sscanf(optarg,"%ld,%lf",&nz,&dz); 99 99 break; 100 100 case 's' : … … 230 230 231 231 cout<<"\n--- Checking realization spectra"<<endl; 232 int nhprof = int(fluct3d.GetKmax()/dkmin+0.5);232 long nhprof = long(fluct3d.GetKmax()/dkmin+0.5); 233 233 HProf hpkgen(0.,fluct3d.GetKmax(),nhprof); 234 234 hpkgen.ReCenterBin(); … … 307 307 308 308 cout<<"\n--- Convert Galaxies number to HI mass"<<endl; 309 int nhmdndm = int( (lschmax-lschmin+1.)*100. + 0.5);309 long nhmdndm = long( (lschmax-lschmin+1.)*100. + 0.5); 310 310 Histo hmdndm(lschmin,lschmax,nhmdndm); 311 311 sch.SetOutValue(1);
Note:
See TracChangeset
for help on using the changeset viewer.