Changeset 3284 in Sophya for trunk/Cosmo/SimLSS
- Timestamp:
- Jul 27, 2007, 12:03:29 PM (18 years ago)
- Location:
- trunk/Cosmo/SimLSS
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cosmo/SimLSS/Makefile
r3281 r3284 20 20 $(EXE)cmvdefsurv $(EXE)cmvobserv3d $(EXE)cmvtintfun \ 21 21 $(EXE)cmvtpoisson $(EXE)cmvconcherr $(EXE)cmvtinterp \ 22 $(EXE)cmvtstagn 22 $(EXE)cmvtstagn $(EXE)cmvschdist 23 23 #$(EXE)cmvtluc 24 24 … … 28 28 $(OBJ)cmvobserv3d.o $(OBJ)cmvtintfun.o $(OBJ)cmvtinterp.o \ 29 29 $(OBJ)cmvtpoisson.o $(OBJ)cmvconcherr.o $(OBJ)cmvtluc.o \ 30 $(OBJ)cmvtstagn.o 30 $(OBJ)cmvtstagn.o $(OBJ)cmvschdist.o 31 31 32 32 LIBROBJ = \ … … 183 183 184 184 ############################################################################## 185 cmvschdist: $(EXE)cmvschdist 186 echo $@ " done" 187 $(EXE)cmvschdist: $(OBJ)cmvschdist.o $(LIB)libcmvsimbao.a 188 $(CXXLINK) $(CXXREP) -o $@ $(OBJ)cmvschdist.o $(MYLIB) 189 $(OBJ)cmvschdist.o: cmvschdist.cc 190 $(CXXCOMPILE) $(CXXREP) -I$(MYEXTINC) -o $@ cmvschdist.cc 191 192 193 194 ############################################################################## 185 195 cmvtluc: $(EXE)cmvtluc 186 196 echo $@ " done" -
trunk/Cosmo/SimLSS/cmvconcherr.cc
r3282 r3284 314 314 zone 315 315 n/plot herrconc.val%log10(x) x>0 ! "connectpoints" 316 n/plot herrconc.val-sqrt(err2)%log10(x) x>0&&err2>0 ! "connectpoints same red" 317 n/plot herrconc.val+sqrt(err2)%log10(x) x>0&&err2>0 ! "connectpoints same red" 318 316 319 n/plot herrconc.sqrt(err2)%log10(x) x>0&&err2>0 ! "connectpoints same red" 317 318 320 n/plot herrconc.sqrt(err2)/val%log10(x) x>0&&err2>0&&val>0 ! "connectpoints" 319 321 … … 334 336 335 337 imag cor 338 n/plot cor.val%c r==500 ! "connectpoints" 336 339 337 340 #### -
trunk/Cosmo/SimLSS/cmvtstsch.cc
r3249 r3284 91 91 cout<<"sch(mstar) = "<<sch(mstar)<<" /Mpc^3/Msol"<<endl; 92 92 sch.SetOutValue(0); 93 for(double lnx=lnx1-5.;lnx<=lnx2-1.;lnx+=1.) { 93 cout<<"......"<<endl; 94 for(double lnx=lnx1-3.;lnx<=lnx2-1.;lnx+=1.) { 94 95 double num = IntegrateFuncLog(sch,lnx,lnx2,perc,dlxinc,dlxmax,glorder); 95 96 cout<<"["<<lnx<<","<<lnx2<<"] integrated number = "<<num<<" Mpc^-3"<<endl; 97 } 98 cout<<"......"<<endl; 99 for(double lnx=lnx1+1.;lnx<=lnx2+3.;lnx+=1.) { 100 double num = IntegrateFuncLog(sch,lnx1,lnx,perc,dlxinc,dlxmax,glorder); 101 cout<<"["<<lnx1<<","<<lnx<<"] integrated number = "<<num<<" Mpc^-3"<<endl; 102 } 103 cout<<"......"<<endl; 104 for(double lnx=lnx1-3.;lnx<=lnx2+3.;lnx+=1.) { 105 double num = IntegrateFuncLog(sch,lnx,lnx+1.,perc,dlxinc,dlxmax,glorder); 106 cout<<"["<<lnx<<","<<lnx+1.<<"] integrated number = "<<num<<" Mpc^-3"<<endl; 96 107 } 97 108 Histo hdndm(lnx1,lnx2,npt); hdndm.ReCenterBin(); … … 102 113 sch.SetOutValue(1); 103 114 cout<<"mstar*sch(mstar) = "<<sch(mstar)<<" Msol/Mpc^3/Msol"<<endl; 104 for(double lnx=lnx1-5.;lnx<=lnx2-1.;lnx+=1.) { 115 cout<<"......"<<endl; 116 for(double lnx=lnx1-3.;lnx<=lnx2-1.;lnx+=1.) { 105 117 double sum = IntegrateFuncLog(sch,lnx,lnx2,perc,dlxinc,dlxmax,glorder); 106 118 cout<<"["<<lnx<<","<<lnx2<<"] integrated mass = "<<sum<<" Msol.Mpc^-3"<<endl; 119 } 120 cout<<"......"<<endl; 121 for(double lnx=lnx1+1.;lnx<=lnx2+3.;lnx+=1.) { 122 double sum = IntegrateFuncLog(sch,lnx1,lnx,perc,dlxinc,dlxmax,glorder); 123 cout<<"["<<lnx1<<","<<lnx<<"] integrated mass = "<<sum<<" Msol.Mpc^-3"<<endl; 124 } 125 cout<<"......"<<endl; 126 for(double lnx=lnx1-3.;lnx<=lnx2+3.;lnx+=1.) { 127 double sum = IntegrateFuncLog(sch,lnx,lnx+1.,perc,dlxinc,dlxmax,glorder); 128 cout<<"["<<lnx<<","<<lnx+1.<<"] integrated mass = "<<sum<<" Msol.Mpc^-3"<<endl; 107 129 } 108 130 Histo hmdndm(lnx1,lnx2,npt); hmdndm.ReCenterBin(); -
trunk/Cosmo/SimLSS/genefluct3d.cc
r3283 r3284 1001 1001 // Replace "V" by "scalecube * ( V + offsetcube )" 1002 1002 { 1003 if(lp_>0) cout<<"--- ScaleCube "<<scalecube<<endl;1003 if(lp_>0) cout<<"--- ScaleCube scale="<<scalecube<<" offset="<<offsetcube<<endl; 1004 1004 1005 1005 for(long i=0;i<Nx_;i++) for(long j=0;j<Ny_;j++) for(long l=0;l<Nz_;l++) {
Note:
See TracChangeset
for help on using the changeset viewer.