Changeset 3572 in Sophya for trunk/Cosmo/SimLSS/genefluct3d.cc
- Timestamp:
- Feb 7, 2009, 10:50:34 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cosmo/SimLSS/genefluct3d.cc
r3524 r3572 106 106 <<" D="<<dx<<","<<dy<<","<<dz<<endl; 107 107 if(nx<=0 || dx<=0.) { 108 c har *bla = "GeneFluct3D::setsize_Error: bad value(s) for nn/dx";108 const char *bla = "GeneFluct3D::setsize_Error: bad value(s) for nn/dx"; 109 109 cout<<bla<<endl; throw ParmError(bla); 110 110 } … … 228 228 if(kredshref<0.) { 229 229 if(Nz_<=0) { 230 c har *bla = "GeneFluct3D::SetObservator_Error: for kredsh_ref<0 define cube geometry first";230 const char *bla = "GeneFluct3D::SetObservator_Error: for kredsh_ref<0 define cube geometry first"; 231 231 cout<<bla<<endl; throw ParmError(bla); 232 232 } … … 265 265 266 266 if(cosmo_ == NULL || redsh_ref_<0.) { 267 c har *bla = "GeneFluct3D::LosComRedshift_Error: set Observator and Cosmology first";267 const char *bla = "GeneFluct3D::LosComRedshift_Error: set Observator and Cosmology first"; 268 268 cout<<bla<<endl; throw ParmError(bla); 269 269 } … … 561 561 else if(array_type==2) nvar = 4; 562 562 else return; 563 c har *vname[4] = {"t","z","re","im"};563 const char *vname[4] = {"t","z","re","im"}; 564 564 float xnt[4]; 565 565 NTuple nt(nvar,vname); … … 852 852 853 853 if(growth_ == NULL) { 854 c har *bla = "GeneFluct3D::ApplyGrowthFactor_Error: set GrowthFactor first";854 const char *bla = "GeneFluct3D::ApplyGrowthFactor_Error: set GrowthFactor first"; 855 855 cout<<bla<<endl; throw ParmError(bla); 856 856 } 857 857 if(type_evol<1 || type_evol>2) { 858 c har *bla = "GeneFluct3D::ApplyGrowthFactor_Error: bad type_evol value";858 const char *bla = "GeneFluct3D::ApplyGrowthFactor_Error: bad type_evol value"; 859 859 cout<<bla<<endl; throw ParmError(bla); 860 860 } 861 861 862 862 InterpFunc interpinv(loscom2zred_min_,loscom2zred_max_,loscom2zred_); 863 unsigned short ok;863 //unsigned short ok; 864 864 865 865 //CHECK: Histo hgr(0.9*zred_[0],1.1*zred_[n-1],1000); … … 1421 1421 if(type_evol<0) type_evol = 0; 1422 1422 if(type_evol>2) { 1423 c har *bla = "GeneFluct3D::AddNoise2Real_Error: bad type_evol value";1423 const char *bla = "GeneFluct3D::AddNoise2Real_Error: bad type_evol value"; 1424 1424 cout<<bla<<endl; throw ParmError(bla); 1425 1425 } … … 1436 1436 // Mlim ~ sqrt(DNu) * (Dlum)^2 / Dtrcom 1437 1437 if(cosmo_ == NULL || redsh_ref_<0.| loscom2zred_.size()<1) { 1438 c har *bla = "GeneFluct3D::AddNoise2Real_Error: set Observator and Cosmology first";1438 const char *bla = "GeneFluct3D::AddNoise2Real_Error: set Observator and Cosmology first"; 1439 1439 cout<<bla<<endl; throw ParmError(bla); 1440 1440 }
Note:
See TracChangeset
for help on using the changeset viewer.