Changeset 518 in Sophya for trunk/SophyaLib/Samba/spheregorski.cc
- Timestamp:
- Oct 26, 1999, 4:31:44 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/Samba/spheregorski.cc
r515 r518 452 452 //++ 453 453 template<class T> 454 bool SphereGorski<T>::ContainsSph(double theta, double phi) const 455 //-- 456 { 457 return(true); 458 } 459 460 /* --Methode-- */ 461 //++ 462 template<class T> 454 463 int SphereGorski<T>::PixIndexSph(double theta,double phi) const 455 464 … … 890 899 // return ( ipf + face_num*pow(nside,2));// ! in {0, 12*nside**2 - 1} 891 900 // $CHECK$ Reza 25/10/99 , pow remplace par * 892 // ipf = ipf / ((ns_max/nside)*(ns_max/nside)); // ! in {0, nside**2 - 1}893 // return ( ipf + face_num*(nside*nside);// ! in {0, 12*nside**2 - 1}901 ipf = ipf / ((ns_max/nside)*(ns_max/nside)); 902 return (ipf + face_num*nside*nside); 894 903 } 895 904 … … 1138 1147 } 1139 1148 1149 // Let's Read the SphereCoordSys object -- ATTENTIOn - $CHECK$ 1150 SphereCoordSys* cs = dynamic_cast<SphereCoordSys*>(is.ReadObject()); 1151 dobj->SetCoordSys(cs); 1152 1140 1153 // Pour savoir s'il y avait un DVList Info associe 1141 1154 char strg[256]; … … 1177 1190 return; 1178 1191 } 1192 1193 // Let's write the SphereCoordSys object 1194 dobj->GetCoordSys()->Write(os); 1179 1195 1180 1196 char strg[256];
Note:
See TracChangeset
for help on using the changeset viewer.