Changeset 515 in Sophya for trunk/SophyaLib/Samba/spheregorski.cc


Ignore:
Timestamp:
Oct 26, 1999, 2:44:44 PM (26 years ago)
Author:
ansari
Message:

Portage SGI-CC Reza 26/10/99

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/Samba/spheregorski.cc

    r487 r515  
    11#include "spheregorski.h"
    22#include "strutil.h"
     3#include <math.h>
    34#include <complex>
    45#include "piocmplx.h"
     
    886887  iy_hi  =     iy/128;
    887888  ipf= (PXY.x2pix_(ix_hi)+PXY.y2pix_(iy_hi))*(128*128)+(PXY.x2pix_(ix_low)+PXY.y2pix_(iy_low));
    888   ipf = ipf / pow(ns_max/nside,2);//  ! in {0, nside**2 - 1}
    889   return ( ipf + face_num*pow(nside,2));//    ! in {0, 12*nside**2 - 1}
     889  //  ipf = ipf / pow(ns_max/nside,2.);//  ! in {0, nside**2 - 1}
     890  //  return ( ipf + face_num*pow(nside,2));//    ! in {0, 12*nside**2 - 1}
     891  // $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}
    890894}
    891895
Note: See TracChangeset for help on using the changeset viewer.