Changeset 701 in Sophya for trunk/SophyaLib/Samba/spheregorski.h
- Timestamp:
- Jan 4, 2000, 3:27:29 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/Samba/spheregorski.h
r698 r701 51 51 52 52 template<class T> 53 class FIO_SphereGorski; 54 55 template<class T> 53 56 class SphereGorski : public SphericalMap<T> 54 57 { 58 59 friend class FIO_SphereGorski<T>; 55 60 56 61 public : … … 74 79 /*! Return number of pixels of the splitting */ 75 80 virtual int_4 NbPixels() const; 76 inline void setNbPixels(int_4 n) {nPix_= n;}77 81 78 82 /* Valeur du contenu du pixel d'indice "RING" k */ … … 115 119 fulfil this requirement. 116 120 */ 117 virtual double PixSolAngle(int_4 dummy) const; 118 inline void setPixSolAngle(double x) {omeg_= x;} 121 virtual double PixSolAngle(int_4 dummy=0) const; 119 122 120 123 // --------------- Specific methods … … 160 163 161 164 162 /* retourne /fixela valeur du parametre Gorski */165 /* retourne la valeur du parametre Gorski */ 163 166 inline virtual int_4 SizeIndex() const {return(nSide_);} 164 inline void setSizeIndex(int_4 n) {nSide_= n;}165 167 166 168 /* retourne les pointeurs /remplit les tableaux */ 167 inline const NDataBlock<T>* getDataBlock() const { return (&pixels_); } 168 inline void setDataBlock(T* data,int_4 m) { pixels_.FillFrom(m,data); } 169 170 /* Acces to the DataBlock */ 171 inline NDataBlock<T>& DataBlock() {return pixels_;} 172 inline const NDataBlock<T>& DataBlock() const {return pixels_;} 169 173 170 174 171 … … 189 186 void pix2ang_ring(int_4 nside,int_4 ipix,double& theta,double& phi) const; 190 187 void pix2ang_nest(int_4 nside,int_4 ipix,double& theta,double& phi) const; 188 inline void setParameters(int_4 nside, int_4 nbpixels, double solangle) 189 { 190 nSide_= nside; 191 nPix_= nbpixels; 192 omeg_= solangle; 193 } 191 194 192 195 // ------------- variables internes -----------------------
Note:
See TracChangeset
for help on using the changeset viewer.